Quantity not correctly transferred to cart
-
First of all, thanks for developing this plugin!
When using it production, I experienced a problem in the frontend. It’s about the fact that the change event doesn’t always fire before someone clicks the “Add to cart” button. If you type in a value and you are not clicking anywhere else or ensure otherwise that the input element loses focus, the change event doesn’t fire, which results in the quantity not being updated. I fixed it by adding the keyup event:
woo-product-tables/modules/wootablepress/js/tables.frontend.js:20$('.wtbpTableWrapper').on( 'change keyup', '.quantity .qty', function() {
So I wanted to ask if this is a known issue or otherwise this or a similar fix can be integrated into the plugin so that no one else gets this problem and the changes are not gone again after each update. Thanks a lot!
- The topic ‘Quantity not correctly transferred to cart’ is closed to new replies.