Skip to content

Commit 9c63782

Browse files
MAGETWO-57140: CLONE - [GitHub] Wrong initialization sequence in mage.priceBox widget (price-box.js) #6117 FOR 2.2
1 parent 3b4ecd6 commit 9c63782

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/code/Magento/Catalog/view/base/web/js/price-box.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,7 @@ define([
199199
_setDefaultsFromPriceConfig: function _setDefaultsFromPriceConfig() {
200200
var config = this.options.priceConfig;
201201

202-
if (config) {
203-
if (+config.productId !== +this.options.productId) {
204-
return;
205-
}
202+
if (config && config.prices) {
206203
this.options.prices = config.prices;
207204
}
208205
}

0 commit comments

Comments
 (0)