Dawn 2.0 Theme: Move sold out products at the bottom of collection

Hi! Is there a code to move ‘sold out’ products at the bottom of each collection?

At the moment I move these manually, but was wondering if a code can work for this. I use the Dawn 2.0 theme.

Hi @lextui

One way to arrange the products in your collections to have the out-of-stock items displayed last is to manually arrange the products in the collection. This will require you to adjust the order of your products within a collection as they run out of stock, and then again as they come back in stock.

To automate this process, I suggest using an app. Custom Collections Builder has the ability to create collections with specific product arrangement options, such as by stock quantity. As the inventory of an item increases or decreases, the app will detect the changes and adjust the order of the products in the collection as necessary.

Custom Collections Builder has a 7-day free trial, so I recommend adding it to your store and spending that time to determine if it works to your preference. If it does not, simply uninstall it before the trial expires and you will not be charged for it.

Link : https://apps.shopify.com/easy-collection

I am looking forward to hearing from you.