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
|