The product list pages are currently set to show out of stock products. I would like to show these products after the In Stock items. Thanks.
Magento 1.8 – Sort Product List to Show Out of Stock Items Last
magento-1.8magento-communityproduct-liststock
Best Answer
You can use
catalog_product_collection_load_before
event.And in the observer:
Note: Tested on 1.7.0.2, I guess it will work on 1.8, too.