1

I am updating the quantity of a radio button in a bundle via jQuery: $ ('input. Qty'). Val (4)

Unfortunately the product summary does not change. When I put the value ("4") in the same input field and go with "TAB" to the next element in the product summary is changing.

I guess there is a function I could use to dynamically recalculate the product summary as it works in Magento 1. Any idea?

1 Answer 1

0

All right, I found a solution: Just add a .trigger('change')

so the summary is also been updates,

f.e. $('input.qty').val(15).trigger('change');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.