> For the complete documentation index, see [llms.txt](https://halosoft.gitbook.io/soul-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://halosoft.gitbook.io/soul-documentation/sections/template-sections/recently-viewed-products.md).

# Recently viewed products

<figure><img src="/files/3Hi2SQYsOcjpCjuFOHCN" alt=""><figcaption></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 "**Recently viewed products**".

## Section settings <a href="#section-settings-1" id="section-settings-1"></a>

<table><thead><tr><th width="276">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Heading</td><td>The title for this section.</td></tr><tr><td>Heading style</td><td><p>Style of the heading:</p><ul><li>Default</li><li><strong>Marquee from left to right</strong> - Scrolls text horizontally on  the screen, starting from the left side and moving towards the right.</li><li><strong>Marquee from right to left</strong> - Scrolls text horizontally on  the screen, starting from the right side and moving towards the left.</li></ul></td></tr><tr><td>Heading size</td><td><p>The size of the heading text:</p><ul><li>Small</li><li>Medium</li><li>Large</li><li>Extra large</li></ul></td></tr><tr><td>Heading alignment</td><td><p>The alignment of the heading text and description within the section container:</p><ul><li><strong>Left</strong> - Aligns the heading and description to the left.</li><li><strong>Center (default)</strong> - Aligns the heading and description in the center.</li><li><strong>Right</strong> - Aligns the heading and description to the right.</li></ul></td></tr><tr><td>Description</td><td>The description for this section.</td></tr><tr><td>Maximum products to show</td><td>The number of products from the collection to display. Minimum: 2. Maximum: 25.</td></tr><tr><td>Number of columns on desktop</td><td>Determines the number of product columns on the desktop. Can be from 2 to 4, increasing arithmetically of 1.</td></tr><tr><td>Show navigation arrows below content on desktop</td><td>Displays the navigation arrows below content on desktop.</td></tr><tr><td>Color scheme</td><td>Set the color for the section.</td></tr></tbody></table>

#### Product card

<table><thead><tr><th width="277">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Image ratio</td><td><p>The image ratio for the product images:</p><ul><li><strong>Adapt to image (default)</strong> - Uses the aspect ratio of the images. This prevents the images from being cropped.</li><li><strong>Square</strong> - Crops the images to use a 1:1 ratio.</li><li><strong>Portrait</strong> - Crops the images to use a 2:3 ratio.</li></ul></td></tr><tr><td>Show second image on hover</td><td>When the customer hovers their cursor over the product image, displays the second product image if the product has one.</td></tr><tr><td>Show vendor</td><td>Displays the vendors of the products.</td></tr><tr><td>Enable quick add button</td><td>Displays the quick add button that opens a popup displaying all the essential product details.</td></tr></tbody></table>

#### Mobile layout

<table><thead><tr><th width="278">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Number of columns on mobile</td><td><p>Determines the number of product columns on the mobile:</p><ul><li> 1 column</li><li>1.5 columns</li><li>2 columns</li></ul></td></tr><tr><td>Show pagination</td><td>Displays the pagination for this section.</td></tr></tbody></table>

#### Section padding

<table><thead><tr><th width="278">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 0px to 150px, increasing arithmetically of 2px (pixel).</td></tr><tr><td>Bottom padding</td><td>Determines the height of the bottom inner space of the section. Can be from 0px to 150px, increasing arithmetically of 2px (pixel).</td></tr></tbody></table>
