get3code Posted January 23, 2023 Share Posted January 23, 2023 (edited) 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 get3emptycategory_1_0_1.zip Edited April 6, 2023 by get3code (see edit history) 2 Link to comment Share on other sites More sharing options...
marboo Posted March 16, 2023 Share Posted March 16, 2023 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 More sharing options...
get3code Posted March 16, 2023 Author Share Posted March 16, 2023 Hello, I'll try to check and send a fix in a moment. Link to comment Share on other sites More sharing options...
get3code Posted March 16, 2023 Author Share Posted March 16, 2023 I added a new version of the module with a corrected cron. 1.0.1 1 Link to comment Share on other sites More sharing options...
marboo Posted March 16, 2023 Share Posted March 16, 2023 Perfect! Thank you so much! Small donation on the way - well deserved! 🙂 Link to comment Share on other sites More sharing options...
get3code Posted March 17, 2023 Author Share Posted March 17, 2023 No problem. Thank you very much Link to comment Share on other sites More sharing options...
digitalwork Posted October 23, 2023 Share Posted October 23, 2023 @get3code Is your module compatible with the version 8.1.2 of PrestaShop? Link to comment Share on other sites More sharing options...
get3code Posted October 23, 2023 Author Share Posted October 23, 2023 Hello, the module was tested on version 8.1.x. It should work properly. It does not introduce any changes to the core. Link to comment Share on other sites More sharing options...
digitalwork Posted October 24, 2023 Share Posted October 24, 2023 Thank you so much @get3code Link to comment Share on other sites More sharing options...
simonbotte Posted January 16 Share Posted January 16 Hi, The link to download the module is broken. Would it be possible for you reupload it ? Thank you so much. Link to comment Share on other sites More sharing options...
get3code Posted January 16 Author Share Posted January 16 2 hours ago, simonbotte said: Hi, 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 More sharing options...
Sarevok81 Posted February 1 Share Posted February 1 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 More sharing options...
get3code Posted February 1 Author Share Posted February 1 Hi, Yes this is normal, the cache can store the current state. In the next version I will add automatic memory clearing after execution. Link to comment Share on other sites More sharing options...
Sarevok81 Posted February 1 Share Posted February 1 When is the next version of the module expected to be released? Link to comment Share on other sites More sharing options...
get3code Posted February 1 Author Share Posted February 1 The new version will be available this month. But you must remember that clearing the cache should always be done after changes to the store that affect the appearance and functions. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now