Basically Iv got PayPal items set up and I have for instance
a text input feild called ItemQuantity1
When I press the corosponding add to cart button, I want it to use the value of ItemQuantity1 to fill the variable for quantity which PayPal uses.
so if I have:
|15_____| |Add to cart|
when I push add to cart I want it to say that I added 15 of this item.
I tried doing
… name=quantity value=$temQuantity1
but this didnt work
Thanks
So you would start by submitting the value of the text box (itemQuantity1) to your cart handler. Once you have the data you can do the following to populate the hidden field.
If you need to do this on the same page you can do it with JavaScript but would probably be better off just renaming the itemQuantity1 text box to quantity.