adding to items to shopping cart at the same time

This is an archive of old posting to the User Forum

adding to items to shopping cart at the same time

Postby Andrew G » Tue Jun 03, 2003 12:05 pm

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
Andrew G
 

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

Postby Andrew G » Thu Jun 05, 2003 9:56 am

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

Andrew G
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 15 guests

cron