Total Posts: 653
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.
If not, any ideas?