Office Hours
Day Hours (GMT)
Bank Holidays Closed
Monday 9:00 - 17:30
Tuesday 9:00 - 17:30
Wednesday 9:00 - 17:30
Thursday 9:00 - 17:30
Friday 9:00 - 17:30
Saturday Closed
Sunday Closed
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.