Перейти к содержанию

Enable disable_block_cache tweak in CS-Cart or Multi-Vendor

What is the disable_block_cache tweak?

The disable_block_cache tweak disables CS-Cart and MultiVendor blocks cache. It helps to make development and debug procedures easier. However, sometimes developers or testers can forget to disable this tweak.

How to enable disable_block_cache in CS-Cart

  1. You need SSH/sFTP/FTP access to the project server because you will need to change the file config.local.php in the project directory.
  2. After you open the file config.local.php, find there tweak disable_block_cache.
  3. Check the value; if there is true, replace it with false. Note that the entry should look like 'disable_block_cache' => false, and there should be no additional quotes around false.