File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/ConfigurableProduct/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ define([
373
373
allowedProducts ,
374
374
i ,
375
375
j ,
376
- basePrice = parseFloat ( this . options . spConfig . prices . basePrice . amount ) ,
376
+ finalPrice = parseFloat ( this . options . spConfig . prices . finalPrice . amount ) ,
377
377
optionFinalPrice ,
378
378
optionPriceDiff ,
379
379
optionPrices = this . options . spConfig . optionPrices ,
@@ -410,7 +410,7 @@ define([
410
410
typeof optionPrices [ allowedProducts [ 0 ] ] !== 'undefined' ) {
411
411
allowedProductMinPrice = this . _getAllowedProductWithMinPrice ( allowedProducts ) ;
412
412
optionFinalPrice = parseFloat ( optionPrices [ allowedProductMinPrice ] . finalPrice . amount ) ;
413
- optionPriceDiff = optionFinalPrice - basePrice ;
413
+ optionPriceDiff = optionFinalPrice - finalPrice ;
414
414
415
415
if ( optionPriceDiff !== 0 ) {
416
416
options [ i ] . label = options [ i ] . label + ' ' + priceUtils . formatPrice (
You can’t perform that action at this time.
0 commit comments