I’m using the theme https://themeforest.net/item/ocolus-classic-creative-shopify-theme/46630625?s_rank=2
but I don’t understand what and where to write it correctly?
A merchant with 20,000 products and daily inventory fluctuations (~1,000 items) seeks to automatically move out-of-stock items to the end of collection pages, regardless of sorting or filters applied.
Current Status:
Technical Solution Provided:
A community member shared working Liquid code that:
where filter: available and sold-out itemsmain-collection-product-grid.liquid)Implementation Considerations:
collection.products by the available property and rendering them in two separate loopsI’m using the theme https://themeforest.net/item/ocolus-classic-creative-shopify-theme/46630625?s_rank=2
but I don’t understand what and where to write it correctly?