Market basket analysis counts which products land in the same order, so you can see which ones your shoppers pair. In Shopify, the Items bought together report does the counting. Three checks then separate a pair that sells together for real from one that is just two popular products.
Say your store took 400 orders this quarter. Scented candles sit in 80 of them, boxes of matches in 60, and 24 orders hold both. Is that a pair worth offering? Probably: 30% of candle orders add matches, and only 15% of all orders hold matches. Three checks turn counts like these into a verdict.
What is market basket analysis?
Market basket analysis counts how often two products share an order. The "basket" is one order. The result, how strongly two products are linked, is called product affinity, and the method is sometimes called affinity analysis.
Some tools use "affinity" for groups of customers instead, such as shoppers grouped by their buying history. Here it means products. You can use the result to place products, build bundles and choose what to suggest next, which is the job of frequently bought together sets and cross-sell offers.
How do you run a market basket analysis in Shopify?
Open Analytics, then Reports, filter to the Orders category and open "Items bought together", a report built into Shopify Analytics.
- Open Analytics, then Reports. Click the search box, choose "Category" and tick "Orders", the group of reports about your orders.
- Open "Items bought together". Shopify's Help Center says it lists the most common combinations of products bought together, and that it counts only processed orders, not products left in a cart.
- Choose products rather than variants. The report opens on "Products bought together". Under Controls, then Dimensions, "Variants bought together" is the other choice, and a variant is one size or color. A candle sold in three scents would split one pair across three rows.
- Pick a date range long enough to hold many orders. Skip a stretch with one big sale, when shoppers buy differently than usual.
- Read the most common combinations. The Help Center says you can hover over a product's picture or title in the "Summary" table to see the whole combination, so a row can hold more than two products. The Help Center adds that a row's menu offers "Create customer segment", a saved group of shoppers built from that combination.
From Shopify's Help Center page on order reports, read November 24, 2026.
The report lists the most common combinations, and a common pair is not always a real one. Two products can top the list because each sells well alone. The checks below tell the two cases apart.
How do you tell a real pair from a fluke?
Trust a pair when it repeats across many orders, when buyers of the first product often add the second, and when the add rate beats how often shoppers buy the second product anyway. Each check is one sum.
- Both in one order (support): the share of all orders that hold both products.
- Add rate (confidence): of the orders with the first product, the share that hold the second too. Retailers call it the attach rate.
- Times more often than chance (lift): the add rate divided by the second product's share of all orders. A result of 1 means no link, and above 1 means the two sell together more than chance.
Here are three pairs from those same 400 orders.
| Pair | Both in one order | Add rate | Times more often than chance |
|---|---|---|---|
| Candle and matches | 24 orders, 6% | 30% | 2.0 |
| Candle and tote bag | 40 orders, 10% | 50% | 1.0 |
| Wick trimmer and mug | 3 orders, 0.75% | 100% | 10.0 |
A made-up store of 400 orders in a quarter.
- Candle and matches: offer it. The candle is in 80 orders and 24 of them add matches, a 30% add rate. Matches are in only 15% of all orders, so 30% is twice what chance would give.
- Candle and tote bag: skip it. Of the 80 candle orders, 40 add a tote bag, a 50% add rate that looks strong. The tote bag is in 200 of all 400 orders anyway, so chance alone gives 50%. The result is 1.0, which means no link.
- Wick trimmer and mug: wait. All 3 wick-trimmer orders hold a mug, a 100% add rate, and the mug is in 10% of all orders, so the result is 10.0. Three orders prove little, because one repeat buyer can place all three.
You need four counts: the pair's, the first product's, the second's and all orders. Read the pair's count from its row in Items bought together, if the row prints one. For all orders, Shopify's Help Center says the "Orders over time" report gives the number received in a period. For each product, the "Orders and reversed quantity by product" report counts items ordered, so it runs high whenever a shopper buys two of the same product.
No fixed order count makes a pair real, but a handful of orders proves little and a pair that repeats week after week is a pattern.
What do you do with the pairs you find?
Act on pairs that repeat and beat chance, then pick the offer by how far they beat it.
| What the numbers say | What to do |
|---|---|
| Repeats, and well above chance, like candle and matches | Show the pair at full price: pick it by hand in Shopify's Search & Discovery app, or let Sledge's Frequently Bought recommendation build it from the orders Sledge has recorded. |
| Repeats, but only a little above chance, say 1.3 times | Give shoppers a reason with a small bundle saving. The Shopify Bundles app builds fixed sets of products. |
| Close to chance, like candle and tote bag | Skip the pair. The second product is just popular, so feature it on its own. |
| Few orders, like wick trimmer and mug | Wait, and run the report again next quarter. |
In Apps, open Search & Discovery, click "Product recommendations", then "Add recommendations", pick a product and select up to 10 "Complementary products", the ones you choose by hand. They must be in stock and active, and your theme must support complementary products, per Shopify's Help Center. Shopify also fills the "Related products" list by itself, using strategies that include products commonly bought together.
For where a pair goes and what to charge, read frequently bought together: turning order history into offers. For sets worth building, see bundle ideas that increase average order value.
What does Sledge do with your order pairs?
Sledge reads your order pairs in three places: a recommendation, a row on the Signals tab and Growth Intelligence. It doesn't print a table of pairs with support, confidence and lift.
- Frequently Bought. In Tools, then "Product Recommendation", the tool that fills suggestion blocks on your store, the "Frequently Bought" type lists the products that most often shared an order with the product a shopper is viewing, most frequent first. It builds from the orders Sledge has recorded, and shows related products when a product has no pairs yet.
- Bought together, no bundle. In Sledge Analytics, the Signals tab, a list of live notes about your store, can show a row by that name. A row might read that two products were bought together 12 times, counted over the last 30 days. It appears once a pair has repeated, shows up to three pairs, and is skipped when a live bundle already holds both products. Its "Create a bundle" button opens the "Fix Bundles" page, where you build a fixed set of products.
- Growth Intelligence. On a paid plan, it reads your last 90 days of orders and can name a pair worth offering. The finding opens the offer filled in, and nothing changes until you save it. Its fixes add up to one figure, labeled "Est. potential".
FAQ
Questions, answered
-
14-day free trial
Explore Sledge on your store before you decide to commit.
-
No credit card required
Start improving your store with no upfront commitment.
-
Setup in minutes
Get Sledge running without a lengthy setup process.
-
Built to grow sales
Turn shopper behavior into actions that help you sell more.
What is market basket analysis?
Market basket analysis counts which products land in the same order. The "basket" is one order, and the result is a list of the pairs that share an order most often. Retailers use it to place products, build bundles and sets and choose what to suggest next. In a Shopify store, the Items bought together report does the counting.
What is the difference between market basket analysis and product affinity?
Market basket analysis is the method: counting what shares an order. Product affinity is the result, how strongly two products are linked. Some tools use affinity for groups of customers instead, such as people who buy often. Here it always means products that sell together.
Does Shopify have a market basket analysis report?
Yes. Open Analytics, then Reports, filter the Category to Orders and open Items bought together. Shopify's Help Center says it lists the most common product combinations bought together and counts processed orders only, not products left in a cart. Start with products rather than variants, so one pair is not split across sizes.
Is a pair that shows up in only a few orders worth acting on?
Not on its own. A pair seen three times in a quarter proves little, because one repeat buyer can account for all three. No fixed number of orders makes a pair real, but a pair that repeats week after week is a pattern. Pick a long date range and wait for repeats before you build an offer.
What are support, confidence and lift in plain words?
Support is the share of all orders that hold both products. Confidence is, of the orders with the first product, the share that also hold the second, which retailers call attach rate. Lift is how many times more often the second product shows up in those orders than in orders overall. Above 1, the pair sells together more than chance.
Does Sledge do market basket analysis?
Not as a report with support, confidence and lift. Sledge reads order pairs in three places: its Frequently Bought recommendation, a row labeled "Bought together, no bundle" on the Signals tab, and, on a paid plan, Growth Intelligence, which can name a pair worth offering. Shopify's report stays the place to read the full list.
Turn the pairs you find into offers
Sledge doesn't print a market basket report with support, confidence and lift, so Shopify's Items bought together stays the place to read the full list. Sledge builds its Frequently Bought recommendation from the orders Sledge has recorded, and flags pairs with no bundle on the Signals tab. Try it free for 14 days. Growth Intelligence turns on when you pick a paid plan, and its suggested offers add up to one dollar figure, labeled Est. potential.