I can hide them using a post I found for a simular issue but that was just for the latest module. the problem I have is even though I have hidden the product the pagination at the bottom and the page still thinks the item is there
EG category page has 20 items 5 out of stock the pagination still registers 20 items even though only 15 will be visable the page also does not move the product down either so say each page has 10 items and all 5 items are out of stock on the first page it will only show 5 items on the first page and 10 on the second
Here is what I have amended to allow the product to hide
File path: catalog/controller/product/category.php
added the below
Code: Select all
!$result['quantity']) { continue; }
Code: Select all
foreach ($results as $result) {
if ($result['image']) {
http://forum.opencart.com/viewtopic.php?t=54273
Anybody able to help with this?
Website: http://www.Clicknfixonline.com
OC version: 1.5.3 (Have tried on a fresh install and on 1.5.2 with the same results)