Re: pass variable from 1 template to the other
It doesn't seem to like the php code for the cart_subtotal.tpl - it just echo's out:
global $phpnewsubtotal;
$phpnewsubtotal = $smarty->get_template_vars('newsubtotal');
I put the php code in cart.tpl at the top of the page and that seemed to be ok, but no matter where I put the php code for cart_subtotal.pl it won't execute.
__________________
x-cart 4.1.12
x-cart 4.2
|