I’ve spend some time today playing around with the isEnableZMThemes setting and the consequences.
The main issue so far is that even though Zen Cart templates work fine now, quite a few plugins are useless, because they manipulate the final HTML via the call to
To fix this, I created a new file patch today. It’s the first since quite a long time which goes to show that things have been rather stable for a while.
The new patch will modify includes/application_bottom.php and insert a single (rather long) new line. That line contains the full response filtering and event handling code required to make plugins work.
For example, the page_stats plugin is now able to inject the page stats into Zen Cart templates and even page caching does work!
So, from 0.9.5 on it will be possible to cache the HTML repsonse from a Zen Cart template using any of the available caching implementations (xcache, memcache, file) to speed up page delivery!
This brings us a lot closer to a stripped version of ZenMagick that does not include theme code and only supports plugins and admin enhancements. I wonder if that would be good to go back to the zen-cart site as add-on…