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 9b34db4 commit 149f545Copy full SHA for 149f545
app/code/Magento/ConfigurableProduct/view/frontend/web/js/configurable.js
@@ -392,8 +392,9 @@ define([
392
}
393
} else {
394
allowedProducts = options[i].products.slice(0);
395
- if (typeof allowedProducts[0] !== "undefined"
396
- && typeof optionPrices[allowedProducts[0]] !== "undefined") {
+
+ if (typeof allowedProducts[0] !== 'undefined'
397
+ && typeof optionPrices[allowedProducts[0]] !== 'undefined') {
398
399
optionFinalPrice = parseFloat(optionPrices[allowedProducts[0]].finalPrice.amount);
400
optionPriceDiff = optionFinalPrice - basePrice;
0 commit comments