How to Set Up Related and Complementary Products on Shopify
The section under your product page that says "You might also like" is one of the few places on a Shopify store where a shopper is already interested and still browsing. Most stores leave it on automatic and never look at it again. This guide explains the two kinds of recommendations Shopify supports, how to set them up in the Search and Discovery app, where to place them in your theme, the limits you will run into, and when an app is worth paying for.
Details come from Shopify's Help Centre page on product recommendations and the shopify.dev guide to recommendations in themes, both checked on 19 November 2026.
What is the difference between related and complementary products?
Shopify supports two recommendation types, and they do different jobs.
- Related products are similar items that could serve as substitutes. A shopper looking at one kurta sees other kurtas. They appear in a section usually titled "You might also like".
- Complementary products are items often bought alongside the product being viewed, such as add-ons and accessories. A shopper looking at a kurta sees matching dupattas or juttis. They appear in a section usually titled "Pair it with".
Related products help a shopper who is not sure about this product find a better one. Complementary products help a shopper who has decided buy more. Both are useful, and most stores only use the first.

How does Shopify choose recommendations automatically?
Shopify generates related recommendations for every product on its own. According to the Help Centre, it uses purchase history, product descriptions (for English storefronts only) or related collections as fallbacks. You cannot edit these generated recommendations directly, but you can hide them for individual products. They also change often, so what you see in the app preview may differ from what shoppers see.
Complementary recommendations are never generated automatically. Shopify's developer documentation is explicit that complementary products must be set up manually. If your "Pair it with" block is empty, that is why.
Automatic related products work reasonably well on a store with plenty of order history and clear product descriptions. On a new store, or one with thin descriptions, they can look random. That is the main reason to add your own picks.
How do you set up recommendations in Search and Discovery?
Recommendations are managed in Shopify's free Search and Discovery app. The steps from Shopify's Help Centre:
- In the Search and Discovery app, open Product recommendations and click Add recommendations.
- Choose a product.
- Select complementary products and related products. You can pick up to 10 of each per product.
- For related products, choose whether to show only your own picks, or your picks plus automatic ones.
- Save.
For more than a few products, use bulk editing. Shopify says recommendations can be edited through the bulk editor or through metafields, including changes made by other apps such as Shopify Flow. That makes it possible to set rules, for example giving every product in a collection the same complementary accessories, without clicking through each product.

Which products can and cannot be recommended?
Shopify only shows a product as a recommendation if it meets all of these conditions:
- It is active and published to the Online Store sales channel.
- It is not set to unlisted.
- It is priced above zero and is not a gift card.
- It is not already in the visitor's cart.
- It is in stock. For related products only, a product can also appear if it is set to continue selling when out of stock. Complementary products must have inventory above zero.
This explains most "my recommendations disappeared" questions. A complementary accessory that sold out vanishes from every product page it was attached to, which is a good reason to attach more than one.
Where should recommendations appear in your theme?
Your theme must include a product recommendations section and a complementary products section, and you must add them to your product page template. In themes that support it, complementary products appear as a block inside the product information section, and each product page can have one. Shopify's Help Centre says you can show between 1 and 10 products in that block, with 1 to 4 products per slider page.
Placement guidance that holds for most stores:
- Complementary products near the add to cart button, where the shopper is already deciding. A small "Pair it with" row of two or three items works better than a long slider.
- Related products lower on the page, after the description and reviews, for shoppers who scrolled past without buying.
- On mobile, keep it short. A recommendation slider with ten products below a long product page is rarely scrolled to the end.
- Do not repeat the same products in both sections.
If your theme does not have these sections, they can be added. Shopify's Dawn theme includes a reference implementation in sections/related-products.liquid, which a developer can adapt for a custom theme. For broader layout decisions, see our guide to Shopify product page design.

Photo: Kluang 2026 via Wikimedia Commons, Public domain
How do you measure whether recommendations are working?
Shopify includes a report for this. The developer documentation names it "Product recommendation conversion over time", in the Analytics section of the admin. For tracking to work, recommendation links in your theme must use the URL format Shopify's Product Recommendations API provides. Custom themes sometimes strip those parameters, and then the report shows nothing even when recommendations are working.
Beyond the report, look at average order value and the share of orders with more than one item before and after you add complementary products. Change one thing at a time, so you know what made the difference. Our post on where upsells actually work on Shopify covers the other places to lift order value.
How do combined listings affect recommendations?
If you use combined listings, where separate products such as each colour of a saree are grouped under one parent listing, recommendations need one extra decision. In the Search and Discovery app's settings, you choose whether recommendations show only child products, which is the default, only parent products, or both.
Showing child products means a shopper sees a specific colour, which can look repetitive if several colours of the same item fill the slider. Showing parent products gives a cleaner slider with one card per design. Check how your theme displays each option on a real product page before deciding, because the right choice depends on how different your variants look.
How should you choose complementary products?
Complementary picks are where most of the value is, because Shopify never generates them for you. A few principles help:
- Pick what completes the purchase. A phone case with a phone, a dupatta with a kurta, a cleanser with a moisturiser. The shopper should look at the pairing and think it makes sense, not that you are pushing stock.
- Keep the price lower than the main product. An add-on that costs more than the item being viewed rarely gets added. Accessories and smaller items do better.
- Use your own order data. Shopify's sales reports show which products appear together in orders. Start from pairs customers already buy together.
- Give each product several options. Because complementary products must have inventory above zero, attach three or four, so the block still shows something when one sells out.
- Set rules for whole collections. Using metafields or Shopify Flow, every product in a collection can share the same complementary set, which keeps setup manageable on a large catalogue.
Review the picks when you launch new products or retire old ones. Recommendations that point at discontinued items quietly disappear, and the block shrinks without anyone noticing.
When do you need a recommendations app instead?
Search and Discovery covers most stores. Consider an app or custom development when you need:
- Recommendations in the cart drawer or cart page, not only on product pages.
- Bundles with a combined discount, such as "buy the set and save".
- Rules based on customer behaviour, such as recently viewed items or personal history.
- Recommendations in post-purchase pages or emails.
- More than 10 manual picks per product, or complex merchandising rules across a very large catalogue.
Every recommendation app adds scripts to your storefront. Check the speed impact on a duplicate theme before going live, and prefer apps that use theme app blocks over ones that inject code into theme files. Our guide to search and discovery apps for Indian D2C compares the main options.
What are the most common recommendation mistakes?
- Leaving the complementary block in the theme with no products set, so it never shows.
- Relying on automatic related products for a new store with little order history.
- Attaching a single complementary product that often sells out.
- Showing related and complementary sliders with the same products.
- Using a custom theme that breaks the recommendation tracking links.
Recommendations work best on product pages that already convert. Our post on what a Shopify CRO audit usually finds covers what else to review.
Want your recommendations set up properly? Email hello@exactwhy.com with the subject "Product recommendations setup" and your store URL. We will check your theme sections, your Search and Discovery settings and your recommendation report, and tell you what to fix first, free. If your theme needs new sections or a bulk setup through metafields, we quote after the review, and ongoing store support is available on a monthly retainer. You can also reach us through our contact page. We reply within 4 hours.