Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Delisting Out Of Stock Products
 
Brandlive_br
Guru
 
Avatar
Total Posts:  653
Joined:  2008-05-19
Buenos Aires, Argentina
 

Is there any way of not listing products that are out of stock in the category view?
I’ve been checking and if done from the template then it would mess with the number of products displayed per page.

For example: If you set it to 6 products per page and you code it to show only products in stock, if you have 1 product out of stock in the first page then it loads 6 products and displays the five in stock, leaving the 6th one empty. That messes the whole paging system cause you will get pages with different number of products deppending on the ones that are in stock in that specific page.

I tried to look in core but couldn’t get where to change it for this purpose.
Anyone has?
If not, any ideas?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top