ccg_webshop Posted April 28, 2005 Share Posted April 28, 2005 I'dd like to "temporarely" hide a category wich contains about 60 products. The reason fot wanting to hide them is that the products are currently out of stock and will come back in a few weeks. I don't want to delete all products and having to put them back in of course and it also doesn't seem efficient to mark all products "red", so they don't show. What options do I have? Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 28, 2005 Share Posted April 28, 2005 Find this line in includes/boxes/categories.php while ($categories = tep_db_fetch_array($categories_query)) { and include these line after it if (strpos($categories['categories_name'], 'XXX') !== FALSE || continue; where XXX is the name of the categories you want to hide. A better and quicker way is to alter the database query line to exclude this category. But since this is temporary and the query statement is so eacy to mess up, this is the easiest solution in this case, IMO. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
stevel Posted April 28, 2005 Share Posted April 28, 2005 You nay need more than that, if you have nested categories, as index.php will display those. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.