Knowledgebase: Developer Articles
How do I enable PHP in the template files?
Posted by Al Brookbanks on 26 March 2012 08:41 AM
|
|
If possible we strongly recommend adding PHP code into "code hooks" by developing CubeCart plugins then use the $GLOBALS['smarty']->assign method to pass any output into the template files. However if you must add PHP to the template files then please view the official documentation from Smarty. | |
|