Why Choose Webiots for AI Solutions?
Company
About Webiots

our story

Building digital solutions that move businesses forward.
Web, AI  and technology solutions built for modern businesses
web solutions
Ai & automation
global clients
People, Purpose & Technology

Discover our journey, values & the talented people building meaningful digital solutions at Webiots.

Webiots Shopify app logo
Ultimate Product Options

Shopify limits products to just 3 native options. 

LUX

LUX enhances Shopify customization.

INDUSTRIES WE SERVE
Technology built for every ambition.
FLEXIBLE ENGAGEMENT

Choose the right business model

FLEXIBLE ENGAGEMENT

Choose the right business model

Case Studies

Real challenges. Proven results.

Featured Projects

Selected digital experiences.

All Projects

Explore our complete portfolio.

Why Choose Webiots for AI Solutions?

Shopify Frequently Bought Together (2027): How to Add It, With or Without an App

AI Summarize

Choose an assistant to instantly summarize this article.

In This Article
    Progress 0%
    1 Min Read

    Share this Article

    Shopify product page with a frequently bought together section showing two add-ons, a combined total and an add to cart button
    Published: December 1, 2026. Shopify settings and limits are from the Shopify Help Center and Shopify’s developer documentation, checked December 1, 2026. Test any code on a duplicate theme first.

    Quick answer: Shopify has no button called “Frequently bought together”, but you can build one for free. Install Shopify’s Search & Discovery app, add up to 10 complementary products to each product, then add the Complementary products block to your product page in the theme editor and rename its heading to “Frequently bought together”. This shows the add-ons with quick-add buttons. For the Amazon-style version, with checkboxes, a combined price and one “Add all to cart” button, use the code below or an app, and add a small bundle discount with a Shopify “Buy X get Y” discount.

    Key takeaways:

    • Shopify’s own complementary products are picked by you, not by AI, so base them on your order data.
    • Show 2 or 3 add-ons, cheaper than the main product, that are in stock.
    • A discount is optional; 5% to 10% on the add-on is usually enough.
    • Measure the attach rate: the share of orders with the main product that also include the add-on.

    In this guide

    What “Frequently Bought Together” Is (and Isn’t)

    A frequently bought together (FBT) section shows products that customers usually buy with the one they’re looking at: a screen protector with a phone case, filter papers with coffee, a wick trimmer with a candle. Its job is to raise average order value by adding a second item, not to replace the first. Shopify separates two kinds of recommendations (Shopify Help Center):
    Related productsComplementary products (FBT)
    WhatSimilar items, alternativesAdd-ons bought in addition
    Typical heading“You may also like”“Frequently bought together”, “Pairs well with”
    How Shopify picks themAutomatically (purchase history, descriptions, collections), plus your own picksOnly the products you choose
    EffectHelps shoppers find the right itemAdds a second item to the order

    3 Ways to Add Frequently Bought Together on Shopify

    MethodCostWhat you getBest for
    1. Search & Discovery + theme blockFreeAdd-on cards with quick-add buttonsMost stores; a small catalog
    2. Code snippetFreeCheckboxes, combined price, one add-all buttonStores comfortable editing a theme
    3. AppFree plans to about $40/monthAutomatic pairs, bundle discounts, cart and checkout placements, analyticsLarge catalogs, discounts on the bundle

    Method 1: Free, With Shopify Search & Discovery

    Step 1: Add complementary products

    1. Install Shopify Search & Discovery from the Shopify App Store (free, made by Shopify).
    2. In your Shopify admin, go to Apps > Search & Discovery > Product recommendations.
    3. Click Add recommendations and choose the main product.
    4. Under Complementary products, add up to 10 add-ons. Put the best one first.
    5. Click Save. Repeat for your best-selling products first.
    To set many products at once, select several products on the Recommendations page and use the bulk editor.

    Step 2: Show them on the product page

    1. Go to Online Store > Themes > Customize.
    2. Open the Products > Default product template from the dropdown at the top.
    3. In the product information section, click Add block > Complementary products.
    4. Change the heading to Frequently bought together, choose how many products to show (1 to 10) and turn on Quick add if your theme offers it.
    5. Drag the block just below the Buy buttons, then Save.

    Good to know

    • The block is available only in themes that support it, such as Shopify’s free Online Store 2.0 themes, and only one complementary products block fits on a product page.
    • A complementary product is hidden if it’s out of stock, priced at $0, a gift card, unpublished from the Online Store, or already in the shopper’s cart.
    • Shoppers add each item separately; there’s no single “add all” button and no bundle discount.
    All from the Shopify Help Center. Search & Discovery has a low App Store rating (2.6), mostly because of its search features; the recommendations part is simple and works in supported themes.

    Method 2: An “Add All to Cart” Section With Code

    This snippet reads the complementary products you set in Method 1, through Shopify’s product recommendations API, and shows them as checkboxes with a running total and one button that adds everything to the cart. It uses the API’s intent=complementary option, which returns up to 10 products (Shopify developer docs). Where to paste it: in the theme editor, open the product template, click Add block > Custom Liquid under the Buy buttons, paste the code and save. Try it on a duplicate theme first.
    <div id="fbt" hidden
      data-product="{{ product.id }}"
      data-variant="{{ product.selected_or_first_available_variant.id }}"
      data-price="{{ product.selected_or_first_available_variant.price }}"
      data-title="{{ product.title | escape }}">
      <h3>Frequently bought together</h3>
      <div id="fbt-items"></div>
      <p>Total: <strong id="fbt-total"></strong></p>
      <button type="button" id="fbt-add" class="button">Add selected to cart</button>
    </div>
    <script>
    (function () {
      var box = document.getElementById('fbt');
      var root = (window.Shopify && Shopify.routes && Shopify.routes.root) || '/';
      var cur = (window.Shopify && Shopify.currency && Shopify.currency.active) || 'USD';
      var fmt = function (c) { return (c / 100).toLocaleString(undefined, { style: 'currency', currency: cur }); };
      var items = [{ id: +box.dataset.variant, price: +box.dataset.price, title: box.dataset.title, main: true }];
    
      fetch(root + 'recommendations/products.json?product_id=' + box.dataset.product + '&limit=2&intent=complementary')
        .then(function (r) { return r.json(); })
        .then(function (data) {
          data.products.forEach(function (p) {
            var v = p.variants.find(function (x) { return x.available; });
            if (v) items.push({ id: v.id, price: v.price, title: p.title });
          });
          if (items.length < 2) return;
          var html = '';
          items.forEach(function (it, i) {
            html += '<label style="display:block;margin:6px 0"><input type="checkbox" data-i="' + i + '" checked' +
              (it.main ? ' disabled' : '') + '> ' + it.title + ' – ' + fmt(it.price) + '</label>';
          });
          document.getElementById('fbt-items').innerHTML = html;
          box.hidden = false;
          update();
          box.addEventListener('change', update);
        });
    
      function chosen() {
        return items.filter(function (it, i) {
          return it.main || box.querySelector('[data-i="' + i + '"]').checked;
        });
      }
      function update() {
        var total = chosen().reduce(function (s, it) { return s + it.price; }, 0);
        document.getElementById('fbt-total').textContent = fmt(total);
      }
      document.getElementById('fbt-add').addEventListener('click', function () {
        fetch(root + 'cart/add.js', {
          method: 'POST',
          headers: { 'Content-Type': 'application/json' },
          body: JSON.stringify({ items: chosen().map(function (it) { return { id: it.id, quantity: 1 }; }) })
        }).then(function () { window.location.href = root + 'cart'; });
      });
    })();
    </script>
    What it does: shows the main product plus the first 2 in-stock complementary products, all ticked; the shopper can untick an add-on, sees the total change, and adds the rest to the cart in one click. Limits: it adds the main product’s first available variant (or the one in the URL), not a variant picked later on the page, and the first available variant of each add-on. It shows no discount; pair it with a Shopify discount (below). Change limit=2 to show up to 3 add-ons.

    Method 3: When a Frequently Bought Together App Is Worth It

    The free methods cover most small stores. An app starts to pay for itself when you need:
    • Automatic pairs from your order history, for a catalog too big to set by hand.
    • A discount on the bundle shown right in the widget (“Buy all 3, save 10%”).
    • Variant pickers inside the widget, so a shopper can choose the add-on’s size or color.
    • More placements: cart drawer, cart page, checkout and the thank-you page.
    • Analytics on views, add-to-carts and revenue from each pair.
    On the Shopify App Store, most of these apps have a free plan with a limit on bundles or orders, and paid plans from about $10 to $40 a month. Check how the app applies its discount (a Shopify discount function or a price change), whether it slows your product page, and whether it works in your cart drawer.

    How to Choose the Right Pairs

    Find pairs in your own orders

    Your order history already shows what people buy together. A spreadsheet is enough:
    1. In Shopify, go to Orders > Export and export all orders as a CSV for the last 6 to 12 months.
    2. Open it in Google Sheets. Each row is one product in an order; the Name column is the order number and Lineitem name is the product.
    3. Filter Lineitem name to your best seller and copy those order numbers.
    4. Filter the sheet to those order numbers, then make a pivot table counting Lineitem name. The products at the top, apart from the best seller itself, are your natural pairs.
    Attach rate = orders containing both products ÷ orders containing the main product. Pairs above about 10% are strong candidates; if no pair is that high, start with logical add-ons from the table below.

    Pairing ideas by product type

    Main productAdd-ons that make sense
    Phone caseScreen protector, charging cable
    Coffee beansFilter papers, a second roast
    Face cleanserMoisturizer, sunscreen
    CandleWick trimmer, matches, refill
    Dress or shirtBelt, scarf, earrings
    Dog foodTreats, bowl
    Gift itemGift wrap, greeting card

    Rules for good pairs

    • Cheaper than the main item: an add-on at 20% to 50% of the main product’s price is an easy “yes”.
    • 2 or 3 add-ons, not 10: Shopify’s developer guidelines suggest showing 2 or 3 complementary products by default.
    • Complementary, not competing: never suggest a second phone case next to a phone case.
    • In stock and quick to ship: a backordered add-on delays the whole order.
    • Review every quarter, and when new products launch.

    Bundle Discounts Without an App

    Shopify’s own discounts can reward buying the pair, even with the free method:
    1. Go to Discounts > Create discount > Buy X get Y.
    2. Choose Automatic discount and name it, for example “Bundle saving: 10% off the add-on”.
    3. Customer buys: minimum quantity 1 of the main product.
    4. Customer gets: quantity 1 of the add-on, at 10% off.
    5. Limit uses per order to 1 if you want one discounted add-on per order, then save.
    The discount appears in the cart automatically. Mention it next to your section heading (“Save 10% on the add-on when bought together”). Keep it small: 5% to 10% on the add-on usually changes behavior without giving away the margin. For more options, see Shopify BOGO and Buy X get Y, quantity breaks and product bundles.

    Where to Show It: 4 Placements, 4 Jobs

    PlacementIts jobHow
    Product page, under Add to cartShow the set while the shopper is decidingTheme block or code (free)
    Pop-up after Add to cartCatch shoppers who scrolled past the blockApp
    Cart or cart drawerComplete the set when only part of it is in the cartTheme cart recommendations or an app
    Thank-you pageOne-click add-on after payment, when the buying decision is already madePost-purchase app (see post-purchase upsells)
    Start with the product page on your top 20 products, then add the cart, then the thank-you page. Change one placement at a time so you can see what worked.

    8 Mistakes to Avoid

    1. Guessing the pairs. Check your order history first; the best pairs usually already exist in it.
    2. Judging too early. A store with under about 100 orders doesn’t have enough data for automatic pairs; use logical add-ons and review after 2 to 4 weeks.
    3. A big price gap. A $200 add-on under a $20 product feels like a mismatch; keep add-ons well below the main price.
    4. Too many products. 2 or 3 well-chosen add-ons beat 5 random ones.
    5. Pairing low-margin items with a discount. Exclude your lowest-margin products from bundle discounts.
    6. Forcing the set. Pre-tick the add-ons, but let shoppers untick them.
    7. Weak heading copy. “Frequently bought together” tells shoppers other people bought the set; “You may also like” sounds like a guess.
    8. Set and forget. Best sellers change; review your pairs every quarter. If you used custom code, recheck it after every theme update.

    Frequently bought together vs bundles vs cross-selling

    Cross-selling is the broad idea of suggesting extra items. Frequently bought together is one way to do it, built around the product on the page, and each item goes into the cart as its own line so stock stays accurate. A fixed bundle is a set sold as one offer at one price, such as a gift box. Use frequently bought together to raise the value of everyday orders, and a fixed bundle to move specific stock or simplify a choice for new customers.

    What to Measure

    • Attach rate for each pair (see above), before and after you add the section.
    • Average order value on products with the section, compared with the 4 weeks before.
    • Recommendation conversions: Shopify’s Analytics includes a product recommendation conversions report for recommendations shown through its API (Shopify developer docs).
    • Product page conversion rate: make sure the section isn’t distracting people from buying the main item.
    Give each change 2 to 4 weeks before judging it, and test on your highest-traffic products first.

    The Bottom Line

    Start free: pick 2 or 3 add-ons for your best sellers from your order data, set them as complementary products in Search & Discovery and add the Complementary products block, renamed “Frequently bought together”, under the Buy buttons. If you want one-click add-all, use the code above; if you need automatic pairs, bundle discounts and cart placements across a big catalog, that’s when an app earns its fee. Either way, track the attach rate and average order value.

    Frequently Asked Questions

    Does Shopify have a built-in frequently bought together feature?

    Not under that name. Shopify’s free Search & Discovery app lets you set complementary products, and the Complementary products theme block shows them on the product page, where you can rename the heading to “Frequently bought together”.

    How many complementary products can I add on Shopify?

    Up to 10 complementary and 10 related products per product.

    Why aren’t my complementary products showing?

    They’re hidden if they’re out of stock, priced at $0, gift cards, not published to the Online Store or already in the cart, or if your theme doesn’t support the block.

    Can I add all the products to the cart with one click?

    Not with the theme block. Use the code above or an app.

    Can I give a discount for buying them together?

    Yes, with a Shopify automatic Buy X get Y discount, for example 10% off the add-on when the main product is in the cart.

    Are Shopify’s complementary products automatic?

    No. Related products can be generated automatically, but complementary products are the ones you choose.

    Where should the section go?

    Just below the Add to cart button on the product page, where shoppers are already deciding to buy.

    How many add-ons should I show?

    2 or 3. More choices make the decision harder.

    Related Reading

    Update Log

    December 1, 2026: First published. Later the same day: added placements, 8 mistakes to avoid and the difference between frequently bought together, bundles and cross-selling.

    Sources

    About the author

    Saloni

    Saloni is a dedicated content strategist with a strong understanding of eCommerce and a keen interest in Shopify. She focuses on creating engaging, SEO-friendly content and structured strategies that help Shopify merchants strengthen their online presence, improve customer engagement, and grow their businesses.

    Keep Reading