Jump to content

[FREE MODULE] Hide empty categories


Recommended Posts

Module hide empty categories and restore when category has product.

Module is FREE. The module filters each category and its subcategory by checking whether there are products in a given category. The module is safe for the category to appear in the store - just add a product to a given category and click the search button in the module or launch a previously prepared CRON task.

  • two language versions EN / PL
  • checking subcategories
  • the module works on PrestaShop 1.6 and 1.7
  • the module does not delete anything, does not change files, it only disables the visibility of categories in the database


Edited by get3code (see edit history)
  • Like 2
Link to comment
Share on other sites

  • 1 month later...

Hello and thank you for this module!

I need to set up a cron job for this, but I get a 500 error.

I run the URL http://mysite.com/modules/get3emptycategory/cron.php?token=62b49ced3012c1971cfaff6a4f5eab1fb3330561c5e3f70151144834d23dbf5c,. and the message is like in the image I attach. Maybe the token is wrong?

Also, the URL should be "https", right? The result is the same though....

Thank you so much in advance!


Link to comment
Share on other sites

  • 6 months later...
  • 2 months later...
2 hours ago, simonbotte said:


The link to download the module is broken. Would it be possible for you reupload it ?

Thank you so much.

Hello, the link works, maybe you do not have a sufficient list of posts to download the file from the forum. The files are uploaded to the forum so the link cannot be broken.

Link to comment
Share on other sites

  • 3 weeks later...

Greetings, I installed the module in localhost via Wamp Server.

As a test, I created a subcategory under the first category of my menu. Then I tried to activate and deactivate the only product present under this category.

The subcategory is correctly activated/deactivated depending on the products that are present within it, however the change seems to be activated on the frontend only after clearing the cache using the advanced backoffice parameters.

Is this normal?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...