Thread
:
Passing multiple cart items to Javascript code?
View Single Post
#
2
08-16-2012, 12:25 PM
cherie
X-Wizard
Join Date: May 2003
Location: USA
Posts: 1,534
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}
__________________
red
lime
web.com
custom mods and design integration
4.7 linux
cherie
View Public Profile
Send a private message to cherie
Visit cherie's homepage!
Find all posts by cherie