worklea

How to move sold-out products to the bottom of a Shopify collection

By Kamesh at Worklea · Updated 13 November 2026

Shopify sorts a collection by best selling, newest, price, title or your own manual order. None of those rules looks at stock, so a sold-out product keeps its place. Best sellers are the products most likely to sell out, which means the first row of a collection often fills up with things nobody can buy, and shoppers have to scroll past them to find what's available.

Short answer: there's no built-in setting for this. You can drag sold-out products down by hand in a collection sorted Manually, or use an app that moves them for you whenever stock changes and puts them back when they're restocked.

Do it by hand in Shopify

  1. In your Shopify admin, go to Products > Collections and open the collection.
  2. In the Products section, set Sort to Manually. Shopify keeps the current order as the starting point.
  3. Drag each sold-out product down by the handle beside it, to the end of the list.
  4. Click Save. Shopify doesn't save a new order until you do.

This works for a small collection that rarely changes. The trouble starts when it doesn't:

  • You have to repeat it every time something sells out, in every collection the product belongs to.
  • When a product is restocked, you have to remember where it used to be and drag it back.
  • A manually sorted collection no longer sorts itself by best selling or newest, so you place new products yourself too.

What about hiding sold-out products?

Some themes and apps hide sold-out products instead. That removes them from the collection completely until they're restocked, so shoppers can't see what's coming back or sign up for a back-in-stock alert. Moving them to the end keeps them findable without putting them in the way.

Do it automatically with Worklea Sold Out Sorter

Sold Out Sorter watches your stock. When the last variant of a product sells out, the product moves to the bottom of every collection it's in, usually within a minute or two. When you restock it, it goes back to the exact place it had before, not just to the end of the in-stock products, so the order you arranged stays intact. A nightly check keeps everything tidy, and you can tag a product keep-position to leave it where it is.

It's free, with no plans or limits.

Watch on YouTube

Questions

Does it work with collections sorted by best selling?

Shopify only lets apps reorder collections sorted Manually. The app lists each collection with its sort order and can switch one to Manually for you after you confirm.

What about products set to keep selling when out of stock?

Products with "Continue selling when out of stock" count as in stock by default, so they stay where they are. You can change that in the app.

Does it change my products or stock?

No. It only changes the order of products in your collections. It never edits products, prices, stock, orders or customer data.