- 6
About This File
Simple script, allows you to turn off categories without goods on the scheduler schedule and turn on - if goods appeared
Solutions from warez sites are very dumb, because they stupidly use getTotalProducts at every sneeze.
Instructions:
1 - upload the file to catalog/controller/common
2 - if necessary - change the get-key in line 5 (default - update)
3 - run by scheduler, link https://example.com/index.php?route=common/updatecategory&key=key (default - https://example.com/index.php?route=common/updatecategory&key=update).