Skip to content

Commit dc900b9

Browse files
MAGETWO-96308: Configurable "As low As" Product Price Not Updating Correctly
1 parent 329c590 commit dc900b9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ define([
7878
pricesCode = [],
7979
priceValue, origin, finalPrice;
8080

81-
if (typeof newPrices !== 'undefined' && newPrices.hasOwnProperty("prices")) {
81+
if (typeof newPrices !== 'undefined' && newPrices.hasOwnProperty('prices')) {
8282
this.cache.additionalPriceObject = {};
8383
} else {
8484
this.cache.additionalPriceObject = this.cache.additionalPriceObject || {};

app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,6 @@ define([
976976
allowedProduct = this._getAllowedProductWithMinPrice(this._CalcProducts());
977977
optionPrices = this.options.jsonConfig.optionPrices;
978978
basePrice = parseFloat(this.options.jsonConfig.prices.basePrice.amount);
979-
980979
if (!_.isEmpty(allowedProduct)) {
981980
optionFinalPrice = parseFloat(optionPrices[allowedProduct].finalPrice.amount);
982981
optionPriceDiff = optionFinalPrice - basePrice;

0 commit comments

Comments
 (0)