View Single Post
  #2  
Old 08-16-2012, 12:25 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Passing multiple cart items to Javascript code?

This usually goes inside the foreach loop in customer/main/order_message.tpl. You'll have to create a new loop for $order.products like:
PHP Code:
{foreach from=$order.products item=op}
  
order.addItem("[{$op.productcode}]" ...
{/foreach} 
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote