# Featured product tab

### Special Layout

<figure><img src="https://4258944798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXLyWaWgXXqOerFzAWewi%2Fuploads%2FjKvqbO0RqgbbRB3iFzO8%2Ffeatured-product-tab-2.jpg?alt=media&#x26;token=88c84d59-6890-4b9d-b69d-f32915d4be4b" alt=""><figcaption><p>Layout on Beauty Blossom homepage</p></figcaption></figure>

### Classic Layout

<figure><img src="https://4258944798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXLyWaWgXXqOerFzAWewi%2Fuploads%2Fi9X843gh19BA3X3wwC0Q%2Ffeatured-product-tab.jpg?alt=media&#x26;token=b88dfe75-7d1e-40c3-b083-176099740dc9" alt=""><figcaption><p>Layout on Furniture Finesse homepage</p></figcaption></figure>

To add this section, please follow the below steps:

1. From your Shopify admin, go to **Online Store** **->** **Themes**.
2. Find the theme that you want to edit, and then click **Customize**.
3. Click **Add section** and choose "**Featured product tab**".

<table><thead><tr><th width="263">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Layout style</td><td><p>Select the layout style for this section: </p><ul><li><strong>Special:</strong> <a href="#special-layout">layout on Beauty Blossom homepage</a></li><li><strong>Classic:</strong> <a href="#classic-layout">layout on Furniture Finesse homepage</a></li></ul></td></tr><tr><td>Section width</td><td><p>Select the section width from the dropdown menu:</p><ul><li><strong>Full width</strong></li><li><strong>Page width</strong></li><li><strong>Custom width</strong></li></ul></td></tr><tr><td>Custom width</td><td>Determines the width of the section when you choose <strong>'Custom width'</strong> option at <strong>'Section width'</strong> setting . Can be from <strong>1000px</strong> to <strong>1800px</strong>, increasing arithmetically of <strong>50px</strong> (pixel)</td></tr><tr><td>Content alignment</td><td><p>Set horizontal alignment for content inside section containers:</p><ul><li><strong>Left</strong></li><li><strong>Center</strong></li><li><strong>Right</strong></li></ul></td></tr><tr><td>Heading</td><td>Add text to display as a section <strong>heading</strong> <br><em><mark style="color:red;">(Leave the field blank to hide the</mark><mark style="color:red;"> </mark><mark style="color:red;"><strong>heading</strong></mark><mark style="color:red;">)</mark></em></td></tr><tr><td>Heading size</td><td><p>Font size of text:</p><ul><li><strong>Default</strong></li><li><strong>XX-Small</strong></li><li><strong>X-Small</strong></li><li><strong>Small</strong></li><li><strong>Medium</strong></li><li><strong>Large</strong></li><li><strong>X-Large</strong></li><li><strong>XX-Large</strong></li><li><strong>XXX-Large</strong></li></ul></td></tr><tr><td>Text</td><td>Add text to display as a <strong>custom content</strong><br><em><mark style="color:red;">(Leave the field blank to hide the</mark><mark style="color:red;"> </mark><mark style="color:red;"><strong>custom content</strong></mark><mark style="color:red;">)</mark></em></td></tr><tr><td>Color scheme</td><td>Select a color scheme to set the text and background colors for the section</td></tr></tbody></table>

#### Product card

<table><thead><tr><th width="266">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Maximum products to show</td><td>The number of products from the (<strong>collection</strong> or <strong>products</strong>) to display. Must be an even number. Minimum: <strong>1</strong>. Maximum: <strong>5</strong>.</td></tr><tr><td>Color scheme</td><td>Select a color scheme to set the text and background colors for the product card</td></tr><tr><td>Button label size</td><td><p>The font size of the 'Add to cart' button:</p><ul><li><strong>XX-Small</strong></li><li><strong>X-Small</strong></li><li><strong>Small</strong></li><li><strong>Medium</strong></li><li><strong>Large</strong></li><li><strong>X-Large</strong></li><li><strong>XX-Large</strong></li><li><strong>XXX-Large</strong></li></ul><p><em><mark style="color:red;">(Use for</mark><mark style="color:red;"> </mark><mark style="color:red;"><strong>Classic</strong></mark><mark style="color:red;"> </mark><mark style="color:red;">layout)</mark></em></p><p></p></td></tr></tbody></table>

#### **Carousel**

<table><thead><tr><th width="265">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Enable arrows</td><td><p>Display arrows on devices:</p><ul><li><strong>None</strong></li><li><strong>On every device</strong></li><li><strong>Only on desktop</strong></li><li><strong>Only on (desktop, tablet)</strong></li><li><strong>Only on (tablet, mobile)</strong></li><li><strong>Only on mobile</strong></li></ul></td></tr><tr><td>Enable pagination</td><td><p>Display pagination on devices:</p><ul><li><strong>None</strong></li><li><strong>On every device</strong></li><li><strong>Only on desktop</strong></li><li><strong>Only on (desktop, tablet)</strong></li><li><strong>Only on (tablet, mobile)</strong></li><li><strong>Only on mobile</strong></li></ul></td></tr><tr><td>Pagination type</td><td><p>Select the pagination type from the dropdown menu:</p><ul><li><strong>None</strong></li><li><strong>Dots</strong></li><li><strong>Progressbar</strong></li><li><strong>Fraction</strong></li><li><strong>Dashed</strong></li></ul></td></tr></tbody></table>

#### **Animations**

<table><thead><tr><th width="266">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Text animation</td><td><p>Select the text animation from the dropdown menu:</p><ul><li><strong>None</strong></li><li><strong>Fade in up</strong></li><li><strong>Fade in down</strong></li><li><strong>Zoom in</strong></li><li><strong>Zoom out</strong></li></ul></td></tr></tbody></table>

#### **Section padding**

<table><thead><tr><th width="263">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Top padding</td><td>Determines the height of the top inner space of the section. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr><tr><td>Bottom padding</td><td>Determines the height of the bottom inner space of the section. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of 1px (pixel).</td></tr><tr><td>Top padding on mobile</td><td>Determines the height of the top inner space of the section on mobile. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr><tr><td>Bottom padding on mobile</td><td>Determines the height of the top inner space of the section on mobile. Can be from <strong>0px</strong> to <strong>100px</strong>, increasing arithmetically of <strong>1px</strong> (pixel).</td></tr></tbody></table>

***

{% hint style="info" %}

## How to set up <mark style="color:red;">Special Layout</mark> products?

{% endhint %}

<figure><img src="https://4258944798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXLyWaWgXXqOerFzAWewi%2Fuploads%2FffmRdX9A7FerkZMj5Q6j%2FCollection-product-tab-1.jpg?alt=media&#x26;token=3f6dcf69-a6ff-42d3-8690-8c0a55eff4e2" alt=""><figcaption></figcaption></figure>

## <mark style="color:green;">01 - Create a Metafield for Product:</mark>

1. From your Shopify admin, go to **Settings -> Custom data** -> **Metafield definitions**.
2. Click **Products → Add Definition.**
3. Please enter correct **Namespace and Key** as we noted below.

```
Name: featured product description 1 (You can enter up to 3 fields (from 1 to 3))
Namespace and key: custom.featured_product_description_1
Select content type: Single line text
```

<figure><img src="https://4258944798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXLyWaWgXXqOerFzAWewi%2Fuploads%2FZXmLSvFLVfitcABleyde%2FCollection-product-tab-clip-1.gif?alt=media&#x26;token=0979ba1b-48b2-417c-b77c-429e6aa94795" alt=""><figcaption></figcaption></figure>

## <mark style="color:green;">02 - Create Product Description in the database:</mark>

1. From your Shopify admin, go to **Products section ->** Choose any product you want to use
2. Scroll down to the **Product Metafields** section, you will see the **Metafields** you created a moment ago **"featured product description 1"**

<figure><img src="https://4258944798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXLyWaWgXXqOerFzAWewi%2Fuploads%2F0HOJAc7XztCbWJp5sdXX%2FCollection-product-tab-clip-2.gif?alt=media&#x26;token=00978354-48e6-43d8-9dfa-437575f1e8e2" alt=""><figcaption></figcaption></figure>
