ratikanta123 Posted July 2, 2014 Share Posted July 2, 2014 (edited) Hi, I have used PrestaShop™ 1.4.9.0 version. I have trying to input php code into tpl file using {php}{/php}, but it gives error. Please some one help me. Edited July 2, 2014 by ratikanta123 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted July 2, 2014 Share Posted July 2, 2014 You really do not need to handle things that way, it is not secure and good practice. You need to create an override or a module to do what you want. But to answer your question, that tag is turned off in smarty by default, but you can enable it if you want. Link to comment Share on other sites More sharing options...
ratikanta123 Posted July 2, 2014 Author Share Posted July 2, 2014 can you say me how to enable this? Link to comment Share on other sites More sharing options...
Dh42 Posted July 2, 2014 Share Posted July 2, 2014 Actually it is deprecated, http://www.smarty.net/docs/en/language.function.php.tpl sorry about that. Link to comment Share on other sites More sharing options...
Recommended Posts