Product recommendations

Product page section

Tip Check out similar features like Complementary products for the product page and Cross sells in the cart to show customers related products that they can purchase in addition to the selected product.

In the Product template, the Product recommendations section displays similar products to customers on product pages. Product recommendations let customers discover new products and can increase sales.

Recommendations are automatically generated based on products in related collections, products that are commonly purchased together, or similar product descriptions. Recommendations improve over time with more customer and product information. You can customize product recommendations by downloading Shopify's Search & Discovery app.

Set up section

Follow the steps to set up the Product recommendations section. You can customize the section headings, the number of recommend products, and the section style.


In your theme editor (Customize):

  1. Click the Product recommendations section in your products template.

    To add this section, click (+) Add section and select Product recommendations.

  2. Enter Heading text to display as the section title.

  3. (Optional.) Enter Subheading text to display beneath the Heading.

    Use the formatting buttons to add bold, italic, or link text.

  4. Set the Maximum number of products to display in the section. Choose between 2 and 15 products.

  5. Set a specific Number of columns to display on Desktop and Mobile.

    Choose between 3 and 5 columns of product for Desktop screens. Choose between 1 and 1 for mobile devices.

  6. Choose to Enable animation to show visual effects when scrolling, hovering, or interacting with the section.

    Learn more about Section animations in Cornerstone.

  7. Choose to display a Top divider that separates sections with a Solid line.

    The Top divider uses the color of Lines and borders set in the Theme settings.

  8. Select a Padding option to change the spacing between sections. Choose between Top and bottom, Top only, Bottom only, or set it to None.

  9. Click Save.

Customize recommendations

With Shopify's Search & Discovery app, you can customize which products are recommended.

Download Shopify's Search & Discovery app and learn how to choose recommended products ↗ for your store’s product pages.

Using automated recommendations ensures that only in-stock and published products are displayed. If you manually select recommended products, make sure your product list is up-to-date.

Settings reference

In the Product template, click the Product recommendations section to find the following settings.

Section content

Add headings and a button at the top of the section.


Center header on content

Choose to display headings as center-aligned within section. Uncheck this option to align headings to the left.


Add text to show a main heading above the section.

Heading size

Change the font size of the heading from small (1) to large (8).


Add text to show a subheading below the main heading.

Maximum text width

Set the maximum width of heading text between 400 and 1000 pixels.

Button link

Select or paste a URL for a button. You can add up to three buttons below the section heading.

Button label

Enter call-to-action text to display as the button label. The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now).

Button style

Change the style of the button. Select Primary button (Solid), Secondary button (Solid), Tertiary button (Outline), or Text.

Buttons position

Choose to show the buttons either in the Header (below the headings) or in the Footer (below the product rows). In the footer position, the button is always centered.

Product list

Change the layout of the product cards on desktop and mobile.


Maximum number of products

Set a limit on how many product recommendations to display within the section: between 3 and 10.

Number of columns on desktop

Choose how many recommendations to show per row on desktop screens: either 3, 4, or 5 columns.

Number of columns on mobile

Choose how many collections to show per row on mobile screens: either 1 or 2 columns.

Enable slider on desktop

Display recommended products in a single-row carousel that visitors can click through to view more.

Enable slider on mobile

Display recommended products in a single-row carousel that visitors can swipe left and right to view more.

Section style


Top spacing

Increase or decrease the amount of space above the section.

Bottom spacing

Increase or decrease the amount of space below the section.

Enable animation

Choose whether to display visual effects when scrolling, hovering, or interacting with the section. See our Animation guide to learn more.

Related links

Product template Complementary products Cross-sells

Last updated