# 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 **“Main Product.”**

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>Desktop layout</strong><br>Choose the product gallery layout from the following options:<br>- Carousel with card overlap<br>- Carousel<br>- carousel with sticky options<br><br><strong>Media ratio</strong><br>Select the media ratio from the given options: </p><p>-Auto </p><p>-Landscape </p><p>-Portrait </p><p>-Square</p></td></tr><tr><td>Colors</td><td><p><strong>Color scheme</strong> </p><p>Select the color scheme. </p><p><em>Note: These can be managed from <strong>Theme settings> color schemes.</strong></em></p></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>

### Block settings

<table data-header-hidden><thead><tr><th width="281"></th><th></th></tr></thead><tbody><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>- XX- large<br>- X- large<br>- Large<br>- Medium<br>- Small<br>- X-small</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>Hide shipping content</strong><br>Select this checkbox to hide the shipping content from the price block.</td></tr><tr><td>Size chart</td><td>This block showcases the size chart in a popup view. Select any page to show as the size chart.<br><br><img src="https://content.gitbook.com/content/UWveZkoQf4PW5T8WWbcM/blobs/RSRMchKOxnvI5XcNF45O/image.png" alt=""></td></tr><tr><td>Social sharing</td><td>This block is to share the product on social media sites:<br>Facebook<br>Instagram<br>Twitter<br>Linkedin<br>Pinterest</td></tr><tr><td>Variant picker</td><td>This block showcases the variants list.<br><br>Select from the following options to determine the variant picker type:<br>-Dropdown<br>-Button</td></tr><tr><td>Quantity selector</td><td>This block displays the quantity selector i.e. used to select the product quantity while making a purchase.</td></tr><tr><td>Inventory status bar</td><td><strong>Show in product sticky form</strong><br>Select this checkbox to show this block in the sticky form.<br><br><strong>Show status</strong><br>Select this checkbox to show the inventory status. <br><em>(Note: For low inventory threshold setup, go to theme settings>product inventory.)</em></td></tr><tr><td>Pickup availability</td><td>This block displays pickup availability of the product.</td></tr><tr><td>Buy buttons</td><td>This block shows the add to cart button.<br><br><strong>Show dynamic checkout button</strong><br>Select/deselect the checkbox to show the dynamic checkout button. <br><br><strong>Show recipient information form for gift card products</strong><br>Check this checkbox to show the gift card form on the gift card products. <em>Gift card products can be sent directly to a recipient with a personal message by using this form.</em></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> </p></td></tr><tr><td>Description</td><td>This block is to show the product description at any desired position and choose the visibility.<br><br><strong>Style</strong><br>Choose the description style from the following options:<br>- Accordion<br>- Full width<br><br><strong>Description position</strong><br>Choose the description position from the following options:<br>- Below image<br>- Right sided</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>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>Heading</strong><br>Enter any text for the heading.</td></tr><tr><td>Ask a question</td><td><strong>Heading</strong><br>Enter any text to appear as a link to the contact popup.<br><br>This form sends all submissions to the Sender email address of your store. You can change the sender email address in the Store details settings page of your Shopify admin.<br><br><strong>Show 'Help desk' form in front of share icons</strong><br>Select this checkbox to show this block in front of share icons.</td></tr><tr><td>Payment icons</td><td><strong>Show payment icons</strong><br>Select this checkbox to show the payment icons.</td></tr><tr><td>Custom content</td><td><p><strong>Show in fullwidth</strong><br>Select this checkbox to show the custom content in full width.</p><p><em>(Note: It is not applicable for Carousel with sticky options.)</em><br><br><strong>Heading</strong><br>Enter any heading.<br><br><strong>Content</strong><br>Enter the custom content/description. It supports dynamic content as well.</p></td></tr></tbody></table>

## How to set up the product variations

Starlite includes the ability to link directly to other products as product swatches. The result is rich product detail pages that include swatches with images that represent each variant option. \
\
This feature is called product variations. When you view a variation product, only the images associated with that variant option, plus product details, and prices for the variant are shown.\
\
Follow the steps below to complete the setup:\
\
1\. Add a metaobject with two fields: Text and Product list.

<figure><img src="https://content.gitbook.com/content/UWveZkoQf4PW5T8WWbcM/blobs/KN4XWczA8eEaGPVZxmYk/image.png" alt=""><figcaption></figcaption></figure>

2. Go to the product metafield and add a new one with field: Metaobject and select the above created one, as shown below:\\

   <figure><img src="https://content.gitbook.com/content/UWveZkoQf4PW5T8WWbcM/blobs/6kNMcybKikJM2bfPpAtI/image.png" alt=""><figcaption></figcaption></figure>
3. Now create entries and select related products.

<figure><img src="https://content.gitbook.com/content/UWveZkoQf4PW5T8WWbcM/blobs/Gt0JXEIonIO8t9cW00Kt/image.png" alt=""><figcaption></figcaption></figure>

4. Go to specific products and link the entries.

<figure><img src="https://content.gitbook.com/content/UWveZkoQf4PW5T8WWbcM/blobs/dhKzDTlCAwaPdSMFEs7V/image.png" alt=""><figcaption></figcaption></figure>

5. Go to the theme editor and add the **Product variations** block and attach the recently created metaobject, as shown below:

<figure><img src="https://content.gitbook.com/content/UWveZkoQf4PW5T8WWbcM/blobs/fWCAlA9n13uRXDtwwGjs/image.png" alt=""><figcaption></figcaption></figure>

This will start looking like this:\\

<figure><img src="https://content.gitbook.com/content/UWveZkoQf4PW5T8WWbcM/blobs/e9tI7EjG5a9NuVl1aC8O/image.png" alt=""><figcaption></figcaption></figure>
