Page 1 of 1

adding to items to shopping cart at the same time

PostPosted: Tue Jun 03, 2003 12:05 pm
by Andrew G
I am looking for a solution for adding an extended warranty to an item at
the time they choose 'add to cart'

For example perhaps have a radio box or a drop down with the optional
warranties, and if one is selected have it add both the product and the
warranty 'product' to the cart at the same time.

I realize I could use the options setting for the shopping cart, but i am
looking for a more dynamic approach.

Is this possible?

thanks
andrew

Re: adding to items to shopping cart at the same time

PostPosted: Thu Jun 05, 2003 9:56 am
by Andrew G
if anyone is curious, it IS possible, by simply amending the addtocart URL
with an extra
argument, as such:

var newURL = "[-- PRODUCT.AddToCartURL --]" + "&itemnum=" + itemCode;
window.location = newURL;


"Andrew G" <andy@electroline4u.com> wrote in message
news:bbiri6$ta8$1@support.shopsite.com...
I am looking for a solution for adding an extended warranty to an item at
the time they choose 'add to cart'

For example perhaps have a radio box or a drop down with the optional
warranties, and if one is selected have it add both the product and the
warranty 'product' to the cart at the same time.

I realize I could use the options setting for the shopping cart, but i am
looking for a more dynamic approach.

Is this possible?

thanks
andrew