# Template product

### Configure main product

Go to **Customize theme**. Select the Products > Default product template on the top dropdown menu.

From the left side menu, select **“Product information.”**

Customize the section by utilizing the settings on the right side of the theme editor, as described below:

<table data-header-hidden><thead><tr><th width="281"></th><th></th></tr></thead><tbody><tr><td>Main product</td><td><p><strong>Color scheme</strong><br>Select the color scheme. </p><p><em>(<strong>Note</strong>: These can be managed from Theme settings> color schemes.)</em><br><br><strong>Section background</strong><br>Choose the background color from solid or gradient. These colors can be managed in the assigned color scheme.</p></td></tr><tr><td>Layout</td><td>Choose the product gallery layout from the following options:<br>- Scrolling with 2 slides showing<br>- Single slide view<br>- 2 in a row (scrolls down)<br>- 1 in a row (scrolls down)</td></tr><tr><td>Image ratio</td><td>Select the media ratio from the given options: <br>- Auto <br>- Landscape <br>- Portrait <br>- Square</td></tr><tr><td>Enable zoom</td><td>Select this checkbox to enable the zoom on media.</td></tr><tr><td>Enable thumbnails (desktop)</td><td>Select this checkbox to enable the thumbnails on desktop view only.</td></tr><tr><td>Show images based on selected variant</td><td><p>Select this check box to show variant based images on the product page gallery. For this to work, users need to add text in the Alt text of product images as same as the color option name without any extra spaces.<br></p><p><strong>For example color option is:</strong><br><br><img src="https://3934083258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgo8jBIWNJuV2vCyFzMh%2Fuploads%2F7EXKO3Kwrgad6leCK1mA%2Fimage.png?alt=media&#x26;token=f47612ff-3e40-4310-bace-4070d05a3dd2" alt="" data-size="original"><br><br><strong>In the alt text it should be:</strong><br><br><img src="https://3934083258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgo8jBIWNJuV2vCyFzMh%2Fuploads%2FGKcrEAJmoXnZqfdOnMWY%2Fimage.png?alt=media&#x26;token=45670728-7d86-49eb-b51c-6c6b79213389" alt=""><br></p></td></tr><tr><td>Video</td><td><strong>Enable autoplay</strong><br>Select this checkbox to enable the video autoplay of the product videos.<br><br><strong>Enable video loop</strong><br>Select this checkbox to enable the auto looping of the product videos.</td></tr><tr><td>Icon</td><td><strong>Icon width</strong><br>Adjust the range bar to determine the icon's width.</td></tr><tr><td>Section spacing</td><td><p><strong>Desktop top space</strong></p><p>Adjust the range bar to add spacing at the top of the section for desktop view.  <br> </p><p><strong>Desktop bottom space</strong></p><p>Adjust the range bar to add spacing at the bottom of the section for desktop view. </p><p> </p><p><strong>Mobile top space</strong></p><p>Adjust the range bar to add spacing at the top of the section for mobile view. </p><p> </p><p><strong>Mobile bottom space</strong><br>Adjust the range bar to add spacing at the bottom of the section for mobile view. </p></td></tr></tbody></table>

### How to show variants based media:

Users need to add text in the Alt text of product images as same as the color option name without any extra spaces.\
Go to ptoduct page and setup the Alt text for each image of the product.\
\
**For example color option is:**<br>

<figure><img src="https://3934083258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgo8jBIWNJuV2vCyFzMh%2Fuploads%2FV28ZP2vdjr9hS5oLg45d%2Fimage.png?alt=media&#x26;token=96975938-3b54-4642-b99b-fb8e06ad135e" alt=""><figcaption></figcaption></figure>

**In the alt text of respective image it should be:**<br>

<figure><img src="https://3934083258-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgo8jBIWNJuV2vCyFzMh%2Fuploads%2FeW1NhaZupWqn1HYByBKw%2Fimage.png?alt=media&#x26;token=a40868e8-39ce-4706-a302-854f1a69e967" alt=""><figcaption></figcaption></figure>

### Block settings

<table data-header-hidden><thead><tr><th width="281"></th><th></th></tr></thead><tbody><tr><td>Vendor</td><td>This block shows the product vendor.</td></tr><tr><td>Title</td><td>This block shows the product title.<br><br><strong>Title size</strong><br>Select the title size from the following options:<br>- Extra small<br>- Small<br>- Regular<br>- Medium<br>- Large<br>- Extra large<br>- Double Extra large<br><br><strong>Title tag</strong><br>Specify heading code types from H1-H6, div, span or p tag for SEO and search engines for crawling purposes.</td></tr><tr><td>SKU</td><td>This block showcases the product SKU value.</td></tr><tr><td>Price</td><td>This block showcases the product price.<br><br><strong>Show tax information</strong><br>Select this checkbox to show the tax and shipping content in the price block.<br><br>Show sale price first<br>Select this checkbox to show the sale price on the first position.<br><br>Typography<br><strong>Price font size</strong><br>Select the price font size from the following options:<br>- Extra small<br>- Small<br>- Regular<br>- Medium<br>- Large<br>- Extra large<br>- Double Extra large<br><br><strong>Sale price font size</strong><br>Select the sale price font size from the following options:<br>- Extra small<br>- Small<br>- Regular<br>- Medium<br>- Large<br>- Extra large<br>- Double Extra large</td></tr><tr><td>Variant picker</td><td>This block showcases the variants list.<br><br><strong>Style</strong><br>Select from the following options to determine the variant picker type:<br>- Dropdown<br>- Button<br><br><strong>Swatch</strong><br>Color option name<br>Enter the label name of variant option, which hold the colors. For e.g. Color, Colour etc.<br><br><strong>Enable swatch selector</strong><br>Select this checkbox to enable the swatches selector.<br><br><strong>Type</strong><br>Choose the swatch type from the following options:<br>- Category meta-fields<br>- Variant image<br><em>(<strong>Note</strong>: For category meta-fields colors, please go through</em> <a href="https://help.shopify.com/en/manual/custom-data/metafields/category-metafields/using-category-metafields"><em>docs.</em></a><em>)</em><br><br><strong>Style</strong><br>Choose the appearance style of the swatches from below options:<br>- Box<br>- Circle<br><br><strong>Size</strong><br>Choose the size of the swatches from below options:<br>- Small<br>- Medium<br>- Large<br><br><strong>Variants: Other options</strong><br><em>(<strong>Note</strong>: The below settings apply to the product options except the color options.)</em><br><br><strong>Style</strong><br>Choose the appearance style of the swatches from below options:<br>- Box<br>- Circle<br><br><strong>Size</strong><br>Choose the size of the swatches from below options:<br>- Small<br>- Medium<br>- Large<br><br>Size guide<br><strong>Option</strong><br>Enter the option name that holds the size. E.g.: Size,Taille, etc.<br><br><strong>Information</strong><br>Choose any page to show as a size guide.<br><br><strong>Labels(Size)</strong><br>Choose the size from the following options:<br>- Small<br>- Medium<br>- Large<br><br><strong>Colors</strong><br><strong>Text</strong><br>Choose the text color of variant options.<br><br><strong>Background</strong><br>Choose the background color of variant options.<br><br><strong>Border</strong><br>Choose the border color of variant options.<br><br><strong>Active color</strong><br>Choose the active text color of variant options.<br><br><strong>Active background</strong><br>Choose the active background color of variant options.<br><br><strong>Active border</strong><br>Choose the active border color of variant options.</td></tr><tr><td>Inventory status bar</td><td><p><strong>Low inventory threshold</strong><br>Adjust this range bar to determine the low stock limit.<br></p><p><strong>Show inventory quantity</strong></p><p>Select this checkbox to show the inventory quantity. </p></td></tr><tr><td>Quantity selector</td><td>This block shows the quantity selector.<br><br><strong>Show quantity selector with Add to cart</strong><br>Select this checkbox to show the quantity selector with ATC button.<br><br><strong>Labels(size)</strong><br>Choose the size from the following options:<br>- Small<br>- Medium<br>- Large</td></tr><tr><td>Pickup availability</td><td>This block displays pickup availability of the product.<br>For more details, refer to <a href="https://help.shopify.com/en/manual/fulfillment/setup/delivery-methods/pickup-in-store">docs.</a></td></tr><tr><td>Linked products</td><td><p>It lets you link products together, giving you an alternative to using variants. For example, you can show different colors as separate products, while still allowing customers to switch between colors of the same model on the product page.<br><br><strong>Heading</strong><br>Add the heading text of linked products.<br><br><strong>How it works</strong><br><br><strong>Create metafields with the 'Namespace and key</strong><br>- Linked products / 'custom.linked_products' / Type: List of products</p><p>Once filled, they will automatically display using the first image of each linked product.<br><br><strong>Optional: Custom image</strong><br>To display an image, create the following metafields:</p><p>– Linked image / 'custom.linked_image' / Type: file / One file</p><p>When assigned, this image will replace the assign linked product image.<br><br><strong>Optional: Custom color</strong><br>To display an color, create the following metafields:</p><p>– Linked color / 'custom.linked_color' / Type: file(One value)</p><p>When assigned, this color value will replace the assign linked product image.<br><br><strong>Appearance</strong><br><strong>Style</strong><br>Choose the style of linked products from below options:<br>- Circle<br>- Box<br><br><strong>Size</strong><br>Choose the size of linked products from below options:<br>- Small<br>- Medium<br>- Large</p></td></tr><tr><td>Buy buttons</td><td>This block is to show the <strong>Add to cart</strong> button along with below settings:<br><br><strong>Show inline buttons</strong><br>Select the checkbox to show the buttons inline.<br><br><strong>Show dynamic checkout button</strong><br>Select the checkbox to show the dynamic checkout button. <br><br><strong>Show recipient information form for gift cards</strong><br>Select the checkbox to allows buyers to send gift cards on a scheduled date along with a personal message. <a href="https://help.shopify.com/manual/online-store/themes/customizing-themes/add-gift-card-recipient-fields">Learn more</a><br><br><strong>Font style</strong><br>Choose font style from below options:<br>- UPPERCASE<br>- lowercase<br>- Capitalize<br>- Unset</td></tr><tr><td>Icon with text</td><td>Add icons with text to highlight product.<br><br>Icon 1-3<br><strong>Icon</strong><br>Choose any icon from the list.<br><br><strong>Image</strong><br>Add any image for the icon.<br><br><strong>Label</strong><br>Enter any text for the heading.<br><em>(<strong>Note</strong>: Leave the heading label blank to hide the icon column.)</em></td></tr><tr><td>Custom liquid</td><td><strong>Liquid</strong> <br>Add app snippets or other liquid code for any advanced customizations.  </td></tr><tr><td>Product description</td><td>This block is to show the product description at any desired position.<br><br><strong>Position (desktop)</strong><br>Choose from left or right side to display the description.<br><br><strong>Display in collapsible</strong><br>Select this checkbox to show the description in collapsible.</td></tr><tr><td>Social sharing</td><td>This block is to share the product on social media sites.<br> <em>Please go to the theme settings>Social media>Social sharing to choose the options.</em><br><br><strong>Share text</strong><br>Enter the text of social sharing icons.<br><br><strong>Show 'Share' with inventory</strong><br>Select this checkbox to show the share button with inventory.</td></tr><tr><td>Custom text</td><td><strong>Text</strong><br>Add custom text.</td></tr><tr><td>Complementary Products</td><td><p><strong>Heading</strong> </p><p>Add text to the heading to highlight complementary products. <br> <br><strong>Maximum products to show</strong><br>Adjust the slider to highlight products between 2 to 10.  <br> <br><em>Note: To select complementary products, add the Search &#x26; Discovery app.</em> <a href="https://shopify.dev/docs/themes/product-merchandising/recommendations">Learn more</a> <br><br><strong>Media fit style</strong><br>Choose the media fit style from:<br>- Cover<br>- Contain</p></td></tr><tr><td>Collapsible content</td><td><strong>Position (desktop)</strong><br>Choose from left or right side to display the content.<br><br><strong>Display in collapsible</strong><br>Select this checkbox to show the content in collapsible.<br><br><strong>Open tab by default</strong><br>Select this checkbox to show the first tab opened by default.<br><br><strong>Heading</strong><br>Enter any heading.<br><br><strong>Description</strong><br>Enter the custom content/description. It supports dynamic content as well.<br><br><strong>Page</strong><br>Choose any page to show its content.</td></tr></tbody></table>
