View Single Post
  #4  
Old 08-27-2013, 09:47 PM
  acidon's Avatar 
acidon acidon is offline
 

Senior Member
  
Join Date: Feb 2008
Posts: 139
 

Default Re: {php} inside template - using smarty variable

I am trying to call a smarty variable in a template following your example:

Code:
{assign var=phpprice value=$minicart_total_cost} {php} $ctotal = $this->get_template_vars('phpprice'); echo $ctotal; {/php}

For some reason it doesn't work... what am I doing wrong?
__________________
Version 4.7.6 X-cart Gold
Reply With Quote