cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting product list in category

Sorting product list in category

Hi all, I need to sort the products in the list of categories so that they are visible before the products in stock and then after those no longer available.
How can I do?

Thank you

Tags (1)
1 REPLY

Re: Sorting product list in category

You need to  sort by cataloginventory_stock_item.is_in_stock field

Chris, Magento Developer, https://www.chrisranjana.com