> For the complete documentation index, see [llms.txt](https://halosoft.gitbook.io/concept-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/concept-documentation/product/product-recommendations.md).

# Product recommendations

The product recommendations that display in the section are based on products that are commonly purchased together or products in related collections. For more information, see [Product recommendations](https://shopify.dev/themes/product-merchandising/recommendations).

{% hint style="info" %}
If you want to add related products on product detail pages on top of the automatically generated recommendations Shopify provides, You must install [Shopify Search & Discovery](/concept-documentation/installation/install-app/shopify-search-and-discovery.md).
{% endhint %}

## How To Setup Product recommendations?

1. From your Shopify admin, go to **Online Store** -> **Themes**.
2. Find the theme that you want to edit, and then click **Customize**.
3. Choose **Products** from the dropdown window **->** Choose **Default product**.
4. From the side menu, select **Related product**. Configure the product recommendations in the setting on the side with the following settings.

<table><thead><tr><th width="265">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Heading</td><td>Add text to display as a section heading<br><em><mark style="color:red;">(Leave the field blank to hide the heading)</mark></em></td></tr><tr><td>Maximum products to show</td><td>Determines the maximum of products can be shown. Can be from 2 to 10, increasing arithmetically of 1.</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>

#### 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 infinite scroll</td><td>Select this checkbox to show/hide the infinite scroll</td></tr><tr><td>Number of slides to display</td><td>Determines the number of slides to display on desktop screen. Can be from 1 to 5, increasing arithmetically of 1.</td></tr><tr><td>Enable pagination</td><td><p>Display pagination on devices:</p><ul><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></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>
