View Single Post
  #4  
Old 08-20-2012, 08:06 AM
  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?

{$op.productcode} is the Smarty variable in this foreach loop to use in place of your sku-item-X. You would want to look inside the $order.products array to see what other variables to use for your quantity-item-X and per-item-cost-item-X, such as $op.amount and $op.display_price, respectively.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote