diff --git a/app/code/Magento/Bundle/view/base/web/js/price-bundle.js b/app/code/Magento/Bundle/view/base/web/js/price-bundle.js index 3ad6f45b08d40194c9515e3769daf1936de8224c..369bf0f6a741495c855d3883fbc950ebad098603 100644 --- a/app/code/Magento/Bundle/view/base/web/js/price-bundle.js +++ b/app/code/Magento/Bundle/view/base/web/js/price-bundle.js @@ -22,7 +22,8 @@ define([ ' +<%- finalPrice.formatted %>' + '<% } %>', controlContainer: 'dd', // should be eliminated - priceFormat: {} + priceFormat: {}, + isFixedPrice: false }; $.widget('mage.priceBundle', { @@ -116,14 +117,15 @@ define([ */ _applyQtyFix: function applyQtyFix() { var config = this.options.optionConfig; + if (!config.isFixedPrice) { + return; // Fix touches only Bundle with Fixed price. + } _.each(config.options, function (option) { _.each(option.selections, function (item) { - if (item.priceType === '0') { - if (item.qty && item.qty !== 1) { - _.each(item.prices, function (price) { - price.amount = price.amount / item.qty; - }); - } + if (item.qty && item.qty !== 1) { + _.each(item.prices, function (price) { + price.amount = price.amount / item.qty; + }); } }); });