Hi,
I've been using this mod for over a year now and have just noticed a bug.
If you have a category without any products (because they have sold out) you just see an empty page. The 'No products for your criteria! Please try again.' message does not appear.
This is beacuse of the following if clause on line 13 in tpl_modules_product_listing.php....
Code:
if((!isset($is_index_listing) || $is_index_listing) && $listing_split->number_of_rows > 0) {
If I change this line to....
Code:
if((!isset($is_index_listing) || $is_index_listing)) {
....it fixes the problem but is it safe to do so?
Will I get other errors I don't yet know about if I remove the number_of_rows check?
Bookmarks