We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d869864 commit a90b46cCopy full SHA for a90b46c
app/code/Magento/Bundle/view/base/web/js/price-bundle.js
@@ -133,6 +133,7 @@ define([
133
.options[field.data('optionId')]
134
.selections[field.data('optionValueId')];
135
optionConfig.qty = field.val();
136
+
137
if (checkIsValidateQty(optionInstance)) {
138
optionInstance.trigger('change');
139
}
@@ -383,7 +384,7 @@ define([
383
384
*/
385
function checkIsValidateQty(bundleOption)
386
{
- let isValid = 0,
387
+ var isValid = 0,
388
qtyElem = bundleOption.data('qtyField');
389
if (bundleOption.prop('type') === 'radio' || bundleOption.prop('type') === 'select-one') {
390
if (qtyElem.val() >= qtyElem.data('validate')['validate-item-quantity'].minAllowed
0 commit comments