Skip to content

Commit 149f545

Browse files
arendarenkoihor-sviziev
authored andcommitted
ConfigurableProduct module fixes
- Fix code style errors
1 parent 9b34db4 commit 149f545

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/ConfigurableProduct/view/frontend/web/js/configurable.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,9 @@ define([
392392
}
393393
} else {
394394
allowedProducts = options[i].products.slice(0);
395-
if (typeof allowedProducts[0] !== "undefined"
396-
&& typeof optionPrices[allowedProducts[0]] !== "undefined") {
395+
396+
if (typeof allowedProducts[0] !== 'undefined'
397+
&& typeof optionPrices[allowedProducts[0]] !== 'undefined') {
397398

398399
optionFinalPrice = parseFloat(optionPrices[allowedProducts[0]].finalPrice.amount);
399400
optionPriceDiff = optionFinalPrice - basePrice;

0 commit comments

Comments
 (0)