Warning Cookies are used on this site to provide the best user experience. If you continue, we assume that you agree to receive cookies from this site. OK
 

Hide empty categories

Last update: 08/11/2022
CSCZ-HEC
Hide empty categories
89.00 $

This module allows you to recursively check category tree in your store and if a category is "empty" disable it. Assuming the category also contains empty subcategories. Once a category can not be longer considered as empty, it is changed to active status. The algorithm also considers status of vendors. If a category contains only products from not active vendors the category is disabled.

 

Addon settings

Administration >> Addons

img10.png?1659616723900



Action:

Set up the status of category after it is considered as 'hidden'. Category can be either hidden or disabled.

Consider disabled products

Hide also categories that have only hidden or inactive products. If this option is not set, alghorithm disable only categories without any products.

Link:

URL Link to run the alghorithm. You can use this link for CRON as well.

 

Usage

(manual run)

1. Run the action from categories manage page

img20.png?1659616734564


2. The categories that are empty, contains only disabled produducts or all its products bellong to not active vendors, are disabled now.

img30.png?1659616742077


3. If you run the action again and the category is not empty ano more, the category will be activated again.


Notice: If the module has not disabled the category itself, it will not subsequently enable it! This behavior is to allow the administrator to manually disable selected categories and avoid unwanted activation.

CRON

Example of setting:

php /var/www/yourweb.com/web/admin.php --dispatch=hide_empty_categories.run --cron_password=MYPASS

Compatible versions
  • 4.15.1
  • 4.14.1
  • 4.13.1
  • 4.12.1
  • 4.11.1
  • 4.10.1
  • 4.9.1
Localisations
  • English

No reviews found

We are small team with big passion to CS-Cart. We mainly help to our customers create and support

Contact information

We are small team with big passion to CS-Cart. We mainly help to our customers create and support modules to be able to smoothly run their business. Durinng our 12years of exeperiance we have realized tens of complex projects and tons of change request for client around the world. 

We belive the CS-Cart is the most powerful ecommerce system in the world, but we try to make it even better. 

Recommended add-ons

Store optimizer
CS-Cart Store optimizer add-on solves one of optimization issues such as unification and compression of java script files, raising the speed of the store
0.00 $

 
EZ Admin Helper
Collection of handy automated tools to help you manage your cs-cart shopping cart automatically.
69.99 $ 54.99 $

 
CS-Cart Help Desk Customer Support System...
Essential feature to organize an efficient support for the customers of your store. This CS-Cart help desk addon will help you with this purpose perfectl...
0.00 $

 
Product image gallery
Place images into the special tab separating them from the main image.
19.00 $