Forum Moderators: coopster & phranque

Message Too Old, No Replies

Order form help

one item has same price many colors

         

Birdman

5:18 pm on Apr 26, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use Paypal for my shopping cart. I want one purchase link per item, but need values to change with user input. Alot of my items have many variations to choose from. how can I have these changes reflected in my Paypal link tag. Here it is.

<a href="#" onclick="window.open('https://www.paypal.com/cart/add=1&business=m00n106%40aol.com&item_name=Headpiece&item_number=BVC047&amount=79.95','cartwin','width=600,height=400,scrollbars,location,resizable,status');"><img src="images/purchase.gif" border="0"></a>

Highlighted text needs to change when user makes selection. Thanks

bmcgee

7:34 pm on Apr 26, 2002 (gmt 0)

10+ Year Member



you will need to change the onclick to call a Javascript function.

This function can check the form fields and build the correct string to execute with the window.open() command.

If you're not JS handy, stickymail me with the page and I'll give you a small sample which you can build from (or if there aren't too many, I might do the whole thing!)

Birdman

12:39 am on Apr 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks alot bmcgee. You're the man. Or maybe the woman. Don't know, but really helpful. Be talkin' acha.
Birdman :)