WP-e-Commerce icon indicating copy to clipboard operation
WP-e-Commerce copied to clipboard

Buy Now button with Variations

Open 1bigidea opened this issue 11 years ago • 6 comments

This is a long standing problem. When the Buy Now button is output (a standalone form), it doesn't include any variation information. As a result, any changes in the variation are ignored. Worse, when you press the Buy Now button, it submits to Paypal with the value of the parent product including whatever price is stored on the product record.

This will require changes to:

wp-e-commerce.js when updating on change in selected variance, update the corresponding Buy Now button

display.functions.php - include a hidden field in the Buy Now form to pass the variation value(s) to the Add_to_cart

1bigidea avatar Mar 21 '13 22:03 1bigidea

Yeah, $/jQuery doesn't matter at all. This entire file is slated to be refactored in the near future anyway, at which point we'll be properly using the $ namespace alias.

JustinSainton avatar Mar 22 '13 15:03 JustinSainton

Slating this for 3.8.12., @1bigidea, can you rebase?

JustinSainton avatar May 03 '13 21:05 JustinSainton

Yikes I don't even know how / if this works on 3.9 --- do we want it to?

Sent from my iPhone

On 4/05/2013, at 9:53 AM, JustinSainton [email protected] wrote:

Slating this for 3.8.12.

— Reply to this email directly or view it on GitHub.

instinct avatar May 03 '13 22:05 instinct

Related: #422.

JustinSainton avatar May 11 '13 06:05 JustinSainton

I am going to try and deal with #422 this weekend

On May 10, 2013, at 11:38 PM, JustinSainton [email protected] wrote:

Related: #422.

— Reply to this email directly or view it on GitHub.

1bigidea avatar May 11 '13 14:05 1bigidea

Punting to a future release. Would be awesome to fix it though.

JustinSainton avatar Mar 19 '14 18:03 JustinSainton