Hello!
I would like to hide subcategories without products from dropdown main menu because the dropdown is too big and i think there is no reason to show empty subcategories.
Hello!
I would like to hide subcategories without products from dropdown main menu because the dropdown is too big and i think there is no reason to show empty subcategories.
CS-Cart does not offer such a feature. Additional code modifications are required. For example, count available products by cron at night time every day and change categories status
CS-Cart does not offer such a feature. Additional code modifications are required. For example, count available products by cron at night time every day and change categories status
Thanks for the answer! Can you guide me on what changes i should make? Or at least which files i should edit?
Hello all,
We are currently building our new multivendor market place and I'd like to know if there has been any development when it comes to automatic hiding of empty (sub-)categories from the menu.
I cannot seem to find such option in the theme, categories, menu or other sections. We are running Multivendor 4.11.1a, Unitheme v.2 with a 2 or 3 layer drop-down menu.
At the moment, there is approx. 900 categories, but we clearly do not have a mile-long menu if 95% of them are empty.
Thanks!
Check marketplace. If I remember correctly, there were ready to use solutions there
Tried to look in there, but did not find an add-on with this exact feature.
I see 2 possible solutions - either a cron-triggered script to check for number of products in a category and change its status (0 - deactivated, 1+ active) or a better one, to check for the amount of products in a category upon creation and deletion of a product. If it is the first product in the category, activate the category, if it's the last one, deactivate. Should not be that complex to do. I was just hoping that somebody has done this before.