Zen Follower
- Join Date:
- Feb 2005
- Location:
- Captain Cook, Hawaii
- Posts:
- 172
- Plugin Contributions:
- 0
Hide Disabled Products from "All Products sidebar search"
I want to hide disabled products and disabled categories from the "ALL PRODUCTS", "NEW PRODUCTS" links.
I saw somewhat similar requests on previous versions but have not found a 1.5.1 fix.
For ALL PRODUCTS I believe the correct file is /includes/modules/pages/products_all/header_php.php and that "WHERE p.products_status = 1" might be the magic phrase.
Should the SELECT be modified or the following "needs a better check v1.3.1" section?
If the latter, don't I need to pull the "p.products_status" also in the select?
I have tried a few tests and have not found the right way to do this. Can you paste in the correct code for me?
Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)