I have 3 separate paypal buttons created. One for small, medium and large (all different prices)
the small, medium and large are images on my website S, M & L.
I want a customer to select S, M or L but these are all different prices so I want the ‘add to cart’ button to update automatically depending on what the customer selects. How can i do this.
If you choose to use jQuery, this can be accomplished with ease.
First, include jquery with this line:
Now use the code below. Give each image the ID of it’s size (small, medium or large) and when that image is clicked the correct form will show. Remember to paste the correct form fields into the correct spaces.