Allowed Php Tags In Templates, Though Still Get Errors...

I’ve set: 'allow_php_in_templates' => true in my config.local.php (within the $config['tweaks'] array)

Yet I get the following error moaning about php tags being unknown...:

PHP Fatal Error

Message

Uncaught → Smarty Compiler: Syntax error in template “/Users/username/sites/website/public/design/themes/responsive/templates/addons/my_changes/hooks/index/content.pre.tpl” on line 58 “{php}” unknown tag “php” ← thrown
Error at

app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php, line: 58
Backtrace

Any ideas?

I just want to set a cookie :|

What CS-Cart version do you use?

4.3.4

just found that {php} tags were deprecated in a while back, there's so many contradictory posts between specific versions of cs-cart it seems :(

I presume I'm on the latest. I've just managed to set a cookie by hard-coding javascript in my template instead.

Thanks for your concern.

4.3.4

just found that {php} tags were deprecated in a while back, there's so many contradictory posts between specific versions of cs-cart it seems :(

I presume I'm on the latest. I've just managed to set a cookie by hard-coding javascript in my template instead.

Thanks for your concern.

Right, this tweak was deprecated a while ago