X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Disable categories where product count = 0 (https://forum.x-cart.com/showthread.php?t=59138)

mrerotic 04-30-2011 01:33 AM

Disable categories where product count = 0
 
How can I make sure my site automatically disables all categories if the product count equals zero, this being said for subcategories as well. Then if product count becomes higher than zero at anytime in the category it is automatically re-enabled. I would appreciate any advice.

JWait 05-02-2011 07:02 AM

Re: Disable categories where product count = 0
 
I'm not sure how you would do this as it would require some custom coding. Also, if you "disable" a category, any time a search engine bot crawls your site its possible the "disabled" category will be eliminated from the previous crawl result as being a "dead link"


All times are GMT -8. The time now is 03:24 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.