Do not work on Woocommerce 7.5.0
-
Hello
Since upgrade to Woocommerce 7.5.0 + and – buttons are not responsive
-
Hi @prixer
I apologie for the deplayed response.
I have checked the issue with the WC 7.5.1 and storefront theme, and I can change the quantity on the checkout page as expected.
Can you please check with other theme?
Please let me know the result.
Regards,
BhavikYou are right!
problem was with Flatsome theme, They updated 3 days ago:
They presented update because of this bug, saw it just now.I’m glad to know that you have identified the root cause of the issue, and updating the theme has fixed the issue.
If the issue is solved then you can mark this thread as resolved.
If time allows you then please feel free to write a review for the plugin.
Flatsome have the same problem also after updating.
Wrote review long time ago 🙂
can you please share your website, so that i can check and update on it?
Thank you
https://did.li/IeCCNThank you for sharing the website url.
I have checked the website, and noticed that your theme is adding a custom quantity selector, which adds the +/- as button.
My plugin is designed to work with default WooCommerce quantity selector.
Let me know if you have any queries.
Hello again
I have disabled your plugin, You can see there are no buttons now.If you disable the plugin then how would it display the quantity on checkout page.
Your theme has changed the default WooCommerce quantity selector hence it’s applied on the checkout page.
With updated quantity selector requires more code to be written and perform actions on it.
I hope you can understand.
A friend of mine just stumbled upon the same issue and I made a quick fix for him that I think might help somebody else:
add_action( 'wp_footer', 'fix_flatsome_checkout_quantity' ); function fix_flatsome_checkout_quantity() { ?> <script> jQuery(document).ready(function($){ // fix flatsome checkout quantity jQuery(document).on('updated_checkout', function() { jQuery('.quantity').addQty(); }) }); </script> <?php }
This works with Flatsome.
jQuery('.quantity').addQty();
is what it calls in order to initialize those +/- buttons. You can add it into your theme’s functions.php or wrap it into a small custom plugin.Hi @dinuio
Thank you for sharing the solution much appreciated.
Working! Thank you @dinuio
I think the problem is gone in the recent updates
- The topic ‘Do not work on Woocommerce 7.5.0’ is closed to new replies.