View Single Post
  #9  
Old 06-04-2009, 01:59 PM
 
rshandel rshandel is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 125
 

Default Re: pass variable from 1 template to the other

Thanks! I can't believe I missed that backslash. I'll give that a go.

I did come up with another way in the meanwhile. It's kind of hack... from a response to the question I posed in the smarty forum:

After I assigned $newsubtotal in the cart_subtotal, I captured the value:

{capture name="mytotal"}{$newsubtotal}{/capture}

then in cart.tpl

I used:

{include file="currency.tpl" value=$smarty.capture.mytotal}
__________________
x-cart 4.1.12
x-cart 4.2
Reply With Quote