For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Complementary products

Add a hand-picked "Pairs well with" block to Avante product pages using Shopify Search & Discovery — cross-sell related items and lift your average order value.

Show a hand-picked block of related products on your product pages to cross-sell and lift average order value. Unlike automatic recommendations, you choose exactly which products appear — perfect for "complete the look" or "add the matching case".


How it works

You pick the pairs in Shopify's free Search & Discovery app, and Shopify stores them on the product. When a customer opens the product page, Avante asks Shopify's Product Recommendations API for that product's complementary list and renders the block with product image, price, and optional vendor and rating.

This is different from automatic Product Recommendations ("You might also like"), which Shopify generates algorithmically. Complementary products are fully controlled by you.

The list is filtered by Shopify, not by Avante. Because it comes through the Recommendations API, Shopify drops anything a customer can't buy right now — out of stock, draft, unpublished, zero-priced — and returns up to 10 products. So a product you linked can be missing from the block even though the link is still there.

The block loads a moment after the rest of the page. In the Theme Editor it can look empty for a second, or stay empty on a preview of a product with no pairs set.


1

Step 1: Install Shopify Search & Discovery

  1. Open the Shopify Search & Discovery app in the App Store and install it

  2. Confirm it's active in Shopify Admin → Apps

2
  1. Go to Shopify Admin → Apps → Search & Discovery → Recommendations

  2. Click Add recommendations (top right) and choose the product you're cross-selling from. Products with nothing set yet show "No products" in the Complementary products column

  1. Under Complementary products, select the items to pair with it (up to 10)

  2. Save

3

Step 3: Add the block in the Theme Editor

  1. Go to Online Store → Themes → Edit theme

  2. In the top page selector, open Products → Default product

  3. Select the Product overview section, click Add block, and choose Complementary products

  4. Drag the block where you want it — e.g. right below the buy buttons

  5. Save

4

Step 4: Style the block

Click the block to open its settings. Most are self-explanatory — heading, heading size, image ratio and focal point, price position, vendor, hover image, color pills, pickup availability. Two have dependencies worth knowing:

  • Heading — set your text (e.g. "Pairs well with" or "Best fits with"). Wrap a word in {curly brackets} to apply the Secondary heading font from Theme settings → Typography

  • Show product rating — only shows if you have a product-rating app installed

  • Show short description — pulls from the product's Subtitle metafield. Learn more

Result

The product page shows your hand-picked "Pairs well with" block. If no complementary products are linked, the block stays hidden.


Troubleshooting

The block doesn't show on the product page

First, check that complementary products are linked to that specific product in Search & Discovery — an empty list makes Avante hide the block. A linked product also won't appear unless it's in stock (quantity above 0), set to Active, published to the Online Store, priced above $0, not a gift card, and not already in the customer's cart.

Some of the products I linked are missing

Shopify returns at most 10 complementary products and filters out anything unavailable at that moment. Restocking or republishing the product brings it back into the block — you don't need to relink it.


Last updated

Was this helpful?