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?