Why sold-out products end up at the top
Every Shopify collection has one sort order, chosen in the admin: Best selling, Product title A–Z or Z–A, Highest or Lowest price, Newest or Oldest, or Manually. None of these looks at inventory. A product that sells out stays exactly where the sort order puts it.
That hurts most in the collections that matter:
- Best selling. The products that sold out did so because they sold well, so they hold the top rows.
- Newest. A new drop that sold out in a day stays first until something newer arrives.
- Manually. Shopify never moves products in a manual collection on its own, so a product you placed first stays first after it sells out.
The storefront follows the same order. A shopper who opens the collection, or sees it in a featured collection section on your home page, scrolls past "Sold out" badges before reaching anything they can buy.
Your options at a glance
| Option | What it does | The catch |
|---|---|---|
| Manual sort, by hand | You drag sold-out products to the bottom | Has to be redone after every sell-out and restock, in every collection |
| Theme code (Liquid) | Shows in-stock products first within each page | Collections load page by page, so it only reorders the products on the current page |
| Automated collection condition "Inventory stock is greater than 0" | Removes sold-out products from the collection | They disappear instead of moving down, and it only works for automated collections |
| An app such as Sink | Changes the collection's real order in Shopify as stock changes | Needs an app; the free plan covers 5 collections |
The theme code route comes up often in the Shopify Community, and the limit is always the same: the code runs on the page the shopper is looking at. If a collection shows 24 products per page, sold-out products on page 1 still come before in-stock products on page 2.
How to move sold-out products down by hand
- In your Shopify admin, go to Products > Collections and open the collection.
- In the products list, set Sort to Manually.
- Drag each sold-out product to the bottom of the list.
- Repeat whenever a product sells out or comes back in stock.
This works for a few small collections that rarely change. The trade-off is that a manual collection stops following sales or dates: new best sellers no longer rise on their own, because the order is frozen until you change it.
How to do it automatically with Sink
Sink keeps the sort order you want for in-stock products and puts sold-out products below them, in every collection you turn it on for. It works with smart (automated) and manual collections.
- Install Sink from the Shopify App Store.
- Open Push down products, select your collections, choose Turn on push down and confirm.
- Each collection keeps the sort order it already had. To change it, click the collection's Applied Sorting Rule and pick best selling, title, price, newest, oldest or your own manual order.
- Click Preview on a collection to see which products stay on top and which are pushed down, before shoppers do.
- In Push down settings, check what counts as sold out. By default a product counts as sold out when none of its variants can be sold from the locations that fulfill online orders, so stock sitting in a shop that doesn't ship online doesn't keep it on top.
From then on, Sink sets the collection's sort order to Manual in Shopify and arranges the products itself. When a product sells out or is restocked, Shopify tells Sink and the collection is sorted again, usually within a couple of minutes. A restocked product moves back up to where its sort order puts it.
Sink also lets you pin key products to the top of a collection while they're in stock, and keep chosen sold-out products in place, for example everything tagged as a pre-order. Products set to Continue selling when out of stock stay in place by default, because shoppers can still buy them.
If a sold-out product still shows near the top
- Check the shopper's "Sort by" choice. Sink sets the collection's default order, which shoppers see under the default option, usually "Featured". If a shopper picks another sort, or a search and filter app applies its own sorting, that order wins.
- Check your locations. A product with stock at a location that fulfills online orders isn't sold out under the default setting.
- Don't change the sort order in the Shopify admin. If someone switches the collection away from Manual, Sink turns push down off for it, and it shows as off in the app.
- Mind the size. Sink sorts up to 11,000 products per collection on every plan.
If you'd rather take sold-out products off the store until they're back, that is hiding rather than pushing down, and it affects search engines while the product is hidden. Pushing down keeps every product page live.
