Hi everyone,
I want to display out-of-stock products at the end of my collection page.
Currently, we are using an app/plugin to push sold-out items to the bottom, but I would like to achieve this without any app, using Shopify’s default features or theme customization.
My requirement:
-
In-stock products should appear first
-
Sold-out products should automatically move to the bottom
-
This should work dynamically when stock changes
My store details:
-
Collection link: V Neck Kurti
-
Theme name: Minimalista
-
Inventory tracking is enabled
I checked collection sorting options but didn’t find a way to sort based on stock status. Is there any Liquid code, setting, or workaround to do this natively?
Thanks in advance!