| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Disable categories where product count = 0 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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.
__________________
x-cart 4.2.3 AlteredCart Smart Search Auto Featured Products Mod (Personal Mod) BCSE Product Importer Pro & Drop Shipper Pro CDSEO Pro CMS EZRecommends EE slider login (Personal Mod) Next Prev Link Mod (Customized) ShadowBox Detailed Images (Personal Mod) Shop By Price (Customized) Social Media (Personal Mod) Switch Layout View (Personal Mod) Special Offers Testimonials (Personal Mod) Whats New (Customized) |
|||||||
#2
|
|||||||||
|
|||||||||
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"
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
|||
X-Cart forums © 2001-2020
|