Guides · Sizes
Shopify size problems: broken size runs and sold-out sizes
Updated 4 December 2026 · 5-minute read
A shopper taps a dress in your first row. It comes in 8 sizes. Only one is left, and it isn't hers. She goes back, taps the next one, and the same thing happens. After two or three of these, many shoppers leave. To Shopify, both dresses were “in stock”. This guide explains the problem and how to fix it.
What a broken size run is
A size run is the full set of sizes a product comes in: XS to XXL, or 2–3Y to 11–12Y. A size run is broken when most of those sizes have sold out but one or two are left.
Shopify counts a product as in stock if any size has stock. So a shirt with only XXL left looks the same to Shopify as a shirt with every size. It sits in the same place in your collections, gets the same “Best selling” rank, and shows no “Sold out” badge.
Why it hurts more than you think
- Your best places go to products most people can't buy. Best sellers sell out of the popular sizes first, so they are exactly the products most likely to have broken runs. “Best selling” sort keeps them at the top.
- Shoppers only find out after they tap. A sold-out badge at least warns them. A broken run looks fine until they pick a size.
- On a phone, the first two rows decide a lot. If four of the first six products are missing the common sizes, the collection feels empty even when it isn't.
- It hides what you do have. Products with full size runs sit lower and get fewer views.
How to spot broken size runs (free)
- The phone test. Open your top three collections on your phone. Tap each of the first 8 products and look at the size picker. Count how many have half their sizes or more sold out.
- The inventory list. In Shopify admin, open Products › Inventory and filter or search by a collection or product type. Variants with 0 available, grouped under the same product, are your broken runs.
- An export. For a bigger catalogue, export your inventory as CSV. In a spreadsheet, count per product how many sizes have stock above 0, and divide by the total number of sizes. Anything under half is a broken run.
Tip: decide what to do with products set to continue selling when out of stock, like made-to-order or pre-order items. They may look sold out in the export but still be buyable.
Fix 1: get broken runs out of your first rows
Shopify's collection sorts (best selling, price, date, alphabetical) don't look at sizes. Free ways round it:
- Sort by hand. Set the collection to Manually and drag broken-run products down. It works, but it is out of date as soon as the next size sells out.
- A “last sizes” collection. Tag broken-run products
last-sizes, take them out of your main collections, and put them in one “Last sizes” or “Final few” collection. Shoppers who wear those sizes love it. Remember to remove the tag when you restock.
See also our guide on moving sold-out products to the bottom.
Fix 2: reorder the sizes that actually sell
Broken runs often start at ordering. If you order the same number of every size, the popular sizes run out first, every time.
- Look at the last 90 days of sales per size, not per product.
- Work out your size curve: what share of sales each size makes up. For example, S 15%, M 35%, L 30%, XL 20%.
- Split your next order the same way, not evenly.
- Ignore weeks when a size was sold out. Zero sales then means zero stock, not zero demand.
Fix 3: make the product page honest
- Make sure your theme crosses out or greys out sold-out sizes in the size picker. Most modern themes can.
- Add a “Notify me when back” option for popular sizes, so you learn what to reorder.
- Keep a clear size chart. Fewer wrong sizes means fewer returns, and fewer “ghost” sizes left in stock.
Doing it automatically
The free fixes work, but they need doing again every week. Two Tidyshelf apps take the work away:
- Collection Sort scores every product on how many of its sizes are in stock, along with sales and newness. A frock with 5 of 5 sizes beats one with 2 of 5. Broken runs move down and sold-out products go last, minutes after a sale. You see a preview next to your current order before anything moves, and one click puts the old order back.
- Restock shows which sizes sell faster than you stock them, and splits each order across sizes the way they sell. It skips sold-out days, so your best sizes aren't under-ordered.
Both have a free plan, never edit your theme, and come with free setup help on our switch page.
Both apps are in early access. They are not on the Shopify App Store yet. Ask for early access and we'll set them up with you.
Quick checklist
- Do the phone test on your top 3 collections today.
- Move or hide products with fewer than half their sizes left.
- Make a “Last sizes” collection for the leftovers.
- Split your next order by size curve, not evenly.
- Check again next week. Sizes sell out one at a time.