Hi there,
I have a shopping cart, which has three page, one for the products, one for displaying the items chosen, and the other is the checkout. The user selects there item, then it gets added to the page displaying their item and when there are happy with the order they click on proceed to checkout which should the display all their items they have chosen, but i cant get it too work.
I have this code
function updatecart()
{
for (i=0; i<=items.length;i++)
{
if (items.length == 1) items.quantity = parent.cart.document.form1.qty.value;
}
displaycart();
}
function complete()
{
OrdWin=window.open('cart_complete.html','OrdWin');
}
Thanks
edd
I have a shopping cart, which has three page, one for the products, one for displaying the items chosen, and the other is the checkout. The user selects there item, then it gets added to the page displaying their item and when there are happy with the order they click on proceed to checkout which should the display all their items they have chosen, but i cant get it too work.
I have this code
function updatecart()
{
for (i=0; i<=items.length;i++)
{
if (items.length == 1) items.quantity = parent.cart.document.form1.qty.value;
}
displaycart();
}
function complete()
{
OrdWin=window.open('cart_complete.html','OrdWin');
}
Thanks
edd