Skip to content

ShopTidy / Guides

Shopify guide · Collections

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

Shopify’s automatic collection sorts don’t look at stock, so sold-out products can sit in the first row. Here is what Shopify offers, what each option costs you, and how to keep it working after restocks.

Short answer

Switch the collection to Manual sort, select the sold-out products and choose Move › To the end. That works, but you have to redo it every time something sells out or comes back, and you lose automatic sorting such as price or newest first. To keep it up to date without the manual work, use an app that re-sorts the collection when stock changes.

What Shopify offers out of the box

Every collection has one sort order. According to Shopify’s help page on collection layout, the options are:

  • Most relevant (the default for new collections)
  • Best selling
  • Product title, A–Z or Z–A
  • Price, high to low or low to high
  • Date created, oldest or newest first
  • Manually

None of these takes inventory into account. A sold-out product that is your best seller, newest arrival or cheapest item stays where the sort puts it, often near the top.

Storefront search is the exception. Shopify lists sold-out products at the end of search results by default, and the Search & Discovery app lets you show, hide or place them last (Shopify help). That setting does not change collection pages.

Method 1: Manual sort and “Move to the end”

This is the built-in way, from the same Shopify help page:

  1. In your Shopify admin, go to Products › Collections and open the collection.
  2. In Collection items, change the sort drop-down to Manually.
  3. Select the sold-out products.
  4. Click Move, then To the end.
  5. Click Save.

On the Shopify mobile app the same action is Move items › Move to bottom.

Where it breaks down

  • It doesn’t update itself. When a product sells out tomorrow it stays where it is, and when a sold-out product is restocked it stays at the end until you move it back.
  • You give up automatic sorting. Once the collection is on Manual, new products and price changes no longer re-sort it by price, date or title.
  • It multiplies with collections. A product can be in several collections, and each one has to be fixed separately.

For a small catalog that rarely sells out, this is fine. If you restock weekly, it turns into a recurring chore.

Method 2: Hide sold-out products instead

If you’d rather not show sold-out products at all, Shopify documents two options:

  • Automated collection condition. With inventory tracking on, add the condition Inventory stock is greater than 0 and set the collection to match all conditions. Products drop out when they sell out and reappear after you receive stock (Shopify help: Hiding out of stock products). This only works for automated collections.
  • Availability filter. The free Search & Discovery app can add an Availability filter to collection pages, so shoppers can choose to see only in-stock items (Shopify help: Search & Discovery filters). The default view still shows sold-out products wherever the sort puts them.
Comparison of ways to handle sold-out products in collections
OptionSold-out productsKeeps up after restocksKeeps automatic sort
Manual sort + Move to the endVisible, at the endNo, by handNo
Inventory stock > 0 conditionHiddenYesYes
Availability filterVisible unless the shopper filtersYesYes
An app such as ShopTidyVisible, at the endYesRe-applied by the app

Method 3: Do it automatically with ShopTidy

ShopTidy’s Sold-out Sink does the manual method for you and keeps doing it when stock changes:

  1. When you turn it on for a collection, ShopTidy records the sort you use and switches the collection to Manual, because Shopify only lets apps reorder Manual collections.
  2. It keeps your order: for title, price and date sorts it re-applies that sort; for a Manual collection it keeps your hand-arranged order; for Best selling and Most relevant it keeps the order the collection had when you turned it on.
  3. Sold-out products move to the end of that order. When a product is restocked, it goes back to its place.
  4. Turning Sold-out Sink off restores the collection’s original sort.

The Free plan covers one collection. Pro covers unlimited collections and can also treat a product as sold out when one option value is gone, for example size M. There is no theme code to edit.

Stop re-sorting collections by hand.

ShopTidy moves sold-out products to the end of your collections, puts them back when they’re restocked and keeps your chosen sort.

Free plan available · Pro $9.99/month with a free trial

Frequently asked questions

Does Shopify have a setting to show sold-out products last in a collection?

Not for collections. The collection sort options are Most relevant, Best selling, title A–Z or Z–A, price, date created and Manual, and none of them looks at stock. Storefront search is different: by default, Shopify search lists sold-out products after available ones, and the Search & Discovery app lets you change that.

Should I hide sold-out products or move them to the end?

Hiding removes them from the collection until stock returns, so shoppers cannot find them there or see that they exist. Moving them to the end keeps them browsable for people who want to wait for a restock, while the first rows show what can be bought today. One common split: hide discontinued items and move temporarily sold-out ones to the end.

Why does an app switch my collection to Manual sort?

Shopify only lets apps reorder products in collections that use Manual sort. An app that moves sold-out products to the end has to switch the collection to Manual and then keep your preferred order itself.

What counts as sold out in ShopTidy?

A product counts as sold out when every variant that tracks inventory has 0 or fewer available. By default, variants set to continue selling when out of stock count as in stock, and products that don't track inventory are never treated as sold out.

Do I need to edit my theme?

No. Both the manual method and ShopTidy change the product order of the collection itself in Shopify, so any theme that shows the collection in its saved order picks it up.

Free toolReorder point calculator for ShopifyWork out when to reorder so fewer products sell out in the first place.GuideShopify replenishment reminders: timing and sold-out pagesTime refill emails per product, and don’t send customers to a sold-out page.

Sources

Checked against Shopify’s help pages in November 2026.