Skip to content

How to Set Up Complementary Products on Shopify

Set up complementary products with Shopify's free Search & Discovery app, learn the eligibility rules that hide them, and decide whether to discount the pair.

MerchandisingThe diex team11 min read

You do not need a paid upsell app to show "goes well with" products on a Shopify product page. Shopify's own Search & Discovery app does it, it is free, and the settings are quick to work through once you know where they live. The parts that trip merchants up are the difference between related and complementary products, the eligibility rules that quietly hide your picks, and the question of whether the pair deserves a discount at all. Here is the whole job, in order.

Shopify treats these as two different recommendation types with two different sources of truth.

Related products are generated for you. According to Shopify's Help Center, Shopify builds them from purchase history (the product needs previous sales for buying behavior to be assessed), product description (available only to merchants with an English storefront), and related collections (used when the first two are not available). You can add your own picks on top, and choose whether the storefront shows only your custom recommendations or your picks plus the automatic ones.

Complementary products are not generated at all. Shopify's theme documentation is explicit: "Only related recommendations are auto-generated by Shopify" and complementary recommendations need to be set up manually. If you never open Search & Discovery, your complementary block has nothing to show.

Related products Complementary products
How it gets filled Automatic, with optional manual picks Hand-picked only
Manual picks per product Up to 10 Up to 10
Shopper question it answers "Is there something better for me?" "What else do I need with this?"
Where it appears Product recommendations section Complementary products block

One more thing worth knowing before you start: Shopify notes that the recommendations previewed inside the Search & Discovery app will often differ from the storefront, because the automatic recommendations change as the algorithm finds better matches. Your complementary picks are stable. The related ones move.

Pick pairs that finish a job, not pairs that just look similar

The temptation is to attach the four products that look nicest next to the main one. That is a related-products instinct, and it puts substitutes in a slot meant for additions. A shopper looking at a chef's knife does not need two more chef's knives below it. They need a sharpener, a cutting board, and a blade guard.

Three filters that work:

  • Does it finish a job? Ask what the customer still cannot do after this order arrives. Shoes need the care kit. The printer needs ink. The dress needs the slip.
  • Is it cheap next to the anchor? An add-on priced at a small fraction of the main product is an easy yes. An add-on priced close to the anchor is a second decision, and second decisions stall carts.
  • Do people actually buy them together? You can check instead of guessing. Export your orders to CSV from the Orders page; Shopify puts each additional line item of an order on its own row, with many fields left blank to show the items belong to the same order. Sort by order name in a spreadsheet and the real pairs in your store become obvious fast.

Pick two to four per product even though Shopify allows ten. In the theme block, the number of products per page takes a value between 1 and 4, and anything beyond that sits behind pagination that most shoppers will not click. Picks 5 through 10 still display, but treat them as depth rather than the ones doing the work, and as cover for when a first choice is out of stock or already in the cart.

Set complementary products in Search & Discovery, step by step

Search & Discovery is a free app published by Shopify, so install it from the App Store if it is not already in your admin. Then:

  1. From your Shopify admin, go to Apps > Search & Discovery.
  2. Click Product recommendations, then Add recommendations.
  3. Select the product you want to add recommendations to.
  4. Choose up to 10 complementary products, and up to 10 related products if you want to influence those too.
  5. For related products, choose whether to show only your custom recommendations or both your custom picks and the automatically generated ones.
  6. Click Save.

You can also select several products on the Recommendations page and click Bulk edit to open the Bulk Editor, then choose recommendations for each product and save. Even so, start with your top 20 sellers rather than the whole catalog. Those products carry most of the traffic, so they carry most of the upside, and hand-picking is slow work whichever screen you do it on.

If you sell B2B, note that when a B2B customer is signed in, recommendations show only products from the catalogs that apply to their company location, so a complement outside that catalog will not appear for them.

Add the complementary products block to your theme

Setting picks in the app does nothing on its own. Complementary products is a block on the product information section of your product page, and it exists only in compatible themes. To add it, per Shopify's documentation:

  1. From your admin, go to Online Store, find your theme, and click Edit theme.
  2. Click Products, then select Default product or the specific product template you want to edit.
  3. If the product information section already has a Complementary products block, click it. If not, click + Add block and select Complementary products.
  4. Click Save.

You can have only one complementary products block on a product page at a time, and the heading and layout come from your theme. The block settings cover the heading, showing the block as a collapsible row with an icon, a maximum number of products to show (1 to 10), the number of products per page (1 to 4), pagination style (Dots, Counter or Numbers), image ratio, and an Enable quick add button option that lets shoppers add the complement to the cart straight from the product card. Turn quick add on. Every extra click between "good idea" and "in the cart" costs you some of the conversions.

If your theme has no such block, you are on an older or non-compatible theme, and that is the real blocker, not your settings.

Eligibility rules that make your recommendations disappear

This is the usual reason a merchant sets everything up and still sees nothing on the page. Shopify filters recommended products at display time. A recommended product shows on the product page only if all of these are true:

  • It is not sold out. For related products it can still show if continue selling when out of stock is on, but for complementary products the product must have inventory above 0.
  • Its product status is Active.
  • It does not have Unlisted product status.
  • It has a price higher than $0.00.
  • It is not a gift card.
  • It is published to your Online Store sales channel.
  • It is not currently in the visitor's cart.

Two of those catch people out repeatedly. The first is the inventory rule: a complement with zero stock vanishes even though the product page looks fine. The second is the cart rule, which means your own testing will lie to you. Add the complement to your cart, reload the product page, and the recommendation is gone by design. Test in a private window with an empty cart.

The $0.00 rule matters if you were planning to list a free gift as a complement. A product priced at zero will not be recommended, so free add-ons belong in a Buy X Get Y discount, not in the recommendations block.

Should the pair get a discount, and how much

Default answer: no. A complementary product is sold by usefulness, not by price. The shopper has already decided to buy the anchor, and the add-on is small relative to it. Discounting something a customer was going to buy anyway is margin handed over for nothing, and in many catalogs the accessory is the higher-margin item of the two, so check yours before you mark it down.

Discount the pair only when you have a specific reason:

  • The complement is a trial purchase you want to turn into a habit (a refill, a consumable, a subscription-adjacent item).
  • The complement is slow-moving stock you want to clear while paired traffic is high.
  • The pair only genuinely works together, so selling the anchor alone produces returns or support tickets.

If you do discount, Shopify's built-in Buy X Get Y discount is the closest match: the customer buys the anchor and gets the complement at a percentage off, an amount off each, or free. Two details to plan around. Shopify does not add the discounted item for the customer ("Customers must add all items to their cart manually. The free or discounted 'get' item is never automatically added to the cart"), which is another reason to enable quick add on the block. And set the maximum number of uses per order unless you are happy for the offer to repeat across a large cart.

There is also a version where you skip the pair-specific markdown and reward basket size instead. diex volume discounts let you choose what counts toward a tier: each cart line, all variants of a product, all products of a collection, or everything in the cart. Set it to everything in the cart and a shopper who adds the anchor plus two accessories reaches a three-item tier. Note the trade-off: when you count across anything other than a single cart line, the tier applies to every line in the counted group, so the anchor is discounted too. Use this when your goal is a bigger basket rather than protecting one product's price, and check the margin on the anchor before you turn it on.

For depth, work it in margin terms rather than percentages. For example, say the anchor sells for $60 and the complement sells for $15 at a $6 cost, so $9 of margin. Take 20% off the complement and you keep $6. That is still additive if the discount is what caused the add. It is a $3 giveaway on every order where the customer would have added it regardless. Our guides on how much to discount a bundle and what actually stacks cover the arithmetic and the combination settings you need if a sitewide code is already running.

How to tell whether the cross-sell is actually working

Search & Discovery reports on this directly. Per Shopify's Help Center, the app's recommendation performance reports include Click rate ("Assess the number of customers that are clicking on any product recommendations"), Purchase rate ("Assess the number of customers that purchased a product that they discovered in recommendations"), and Product recommendations with low engagement, which assesses engagement on your store's top selling products. The in-app metrics include the last 30 days of data; the full reports live in Analytics > Reports.

Pair that with two standard reports: Total sales by product for the complement's unit volume, and Average order value over time for the number you are really trying to move.

Then compute attach rate by hand, because it is the metric that tells you whether a pair is working. For example, say you had 400 orders containing the anchor product last month and 48 of them also contained the complement. That is a 12% attach rate. Change one thing, wait for a comparable number of orders, and look again. Watch for the failure mode where the complement's units rise while the anchor's units fall: that is a substitute sitting in a complementary slot, cannibalizing rather than adding.

Next steps for this week

  1. Install Search & Discovery if it is not in your admin, and check that your theme's product information section offers a Complementary products block.
  2. Export last month's orders to CSV, sort by order name, and write down the five pairs that already show up together.
  3. Set two to four complementary picks on your top 20 products, starting with the ones in that list. Use the Bulk Editor to move through them in batches.
  4. Run the eligibility checklist on every product you picked: Active, published to Online Store, priced above $0.00, inventory above 0. Then test in a private window with an empty cart.
  5. Note today's attach rate and average order value, leave the pairs at full price for two weeks, and only then decide whether any pair needs a discount.

Sources

  1. Shopify Help Center: Product recommendations (Search & Discovery)
  2. Shopify.dev: Product recommendations (themes)
  3. Shopify App Store: Shopify Search & Discovery
  4. Shopify Help Center: Exporting orders
  5. Shopify Help Center: Buy X Get Y discounts
  6. Shopify Help Center: Search & Discovery analytics
  7. Shopify Help Center: Sales reports

Drafted with AI from the sources above and checked automatically against them and our product facts. Spotted a mistake? Email help@diex.app.

More articles

Run the promotions you actually want to run

Install diex from the Shopify App Store. One plan at $29.99 a month, billed by Shopify.