Incorrect value when changing shipping method
-
Hi, I’ve been using the plugin on a few websites and it is very useful to make the quantity area more user-friendly.
A client has noticed an issue on the cart page when changing the shipping method to be used. Following the shipping method being updated, the quantity increases or decreases by more than 1 when clicking the plus/minus buttons.
How to replicate:
1. Have more than one shipping method available.
2. Add product to cart.
3. On the cart page, change the currently selected shipping method to a different one.
4. Click plus or minus button and quantity will increase or decrease by more than 1.
5. The number that the buttons increase or decrease the quantity also increases each time the shipping method is changed.Hopefully this can be sorted as I’m very happy using the plugin.
I’ve also got a request which will assist with styling the buttons – can the three separate input lines in ‘quantity-input.php’ (lines 33, 34, 35) be all placed on the same line in the code rather than separate ones, as white space is added by browsers due to the line breaks in the code? Alternatively, if ‘quantity-input.php’ already exists in the theme directory ‘woocommerce’ folder then could that file be used instead of the plugin version?
Thank you,
Antony
- The topic ‘Incorrect value when changing shipping method’ is closed to new replies.