v1.0.21
- Fixed: on a product page the native Add to cart button acted as Buy Now. The Buy Now button was a form nested inside WooCommerce's cart form, which browsers flatten, so its fields went out with every Add to cart click: the cart was emptied, the quantity reset to 1 and the shopper was sent to checkout.
- Fixed: with the button placed before Add to cart, the nested form closed the cart form early and Add to cart did nothing.
- Fixed: "Respect quantity" never applied. The template never received its context, so the quantity script had no form to attach to. The button now submits the cart form itself, so the quantity box is read directly and the script is gone.