File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Swatches/view/frontend/web/js Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ define([
78
78
pricesCode = [ ] ,
79
79
priceValue , origin , finalPrice ;
80
80
81
- if ( typeof newPrices !== 'undefined' && newPrices . hasOwnProperty ( " prices" ) ) {
81
+ if ( typeof newPrices !== 'undefined' && newPrices . hasOwnProperty ( ' prices' ) ) {
82
82
this . cache . additionalPriceObject = { } ;
83
83
} else {
84
84
this . cache . additionalPriceObject = this . cache . additionalPriceObject || { } ;
Original file line number Diff line number Diff line change @@ -976,7 +976,6 @@ define([
976
976
allowedProduct = this . _getAllowedProductWithMinPrice ( this . _CalcProducts ( ) ) ;
977
977
optionPrices = this . options . jsonConfig . optionPrices ;
978
978
basePrice = parseFloat ( this . options . jsonConfig . prices . basePrice . amount ) ;
979
-
980
979
if ( ! _ . isEmpty ( allowedProduct ) ) {
981
980
optionFinalPrice = parseFloat ( optionPrices [ allowedProduct ] . finalPrice . amount ) ;
982
981
optionPriceDiff = optionFinalPrice - basePrice ;
You can’t perform that action at this time.
0 commit comments