I wish to add an option called 'OUT OF STOCK' in the sort options that would show out of stock products at the top.
How do I implement this using magento? Please help.
Thanks in advance
Please check below link:-
I found it magecloud.net/marketplace/extension/sort-products-automatically-sort-by-stock/ to sort by product stock status, change the way of listing your products