View Single Post
  #2  
Old 09-17-2004, 03:55 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default

I've managed to get the desired output on screen only by following Shan's code:

http://forum.x-cart.com/viewtopic.php?t=9561

Unfortunately I can't get it to display on the email orders. I'm figuring I need to use a smarty assign bit of code in the process order function in func.php along the lines of

Code:
$mail_smarty->assign("user_membership",$user_account["membership"]);

of which I've tried a couple of variations but I still can't get it to output {$user_membership} anywhere on the email, just leaves a blank -so I can assume the value hasn't been assigned. Any ideas where I'm going wrong?

Thanks

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote