View Single Post
  #5  
Old 03-29-2009, 07:26 AM
 
rshandel rshandel is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 125
 

Default 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
Reply With Quote