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 @@ -167,7 +167,7 @@ define([
167
167
_setInitialOptionsLabels : function ( ) {
168
168
$ . each ( this . options . spConfig . attributes , $ . proxy ( function ( index , element ) {
169
169
$ . each ( element . options , $ . proxy ( function ( optIndex , optElement ) {
170
- this . options . spConfig . attributes [ index ] . options [ optIndex ] . label_initial = optElement . label ;
170
+ this . options . spConfig . attributes [ index ] . options [ optIndex ] . initialLabel = optElement . label ;
171
171
} , this ) ) ;
172
172
} , this ) ) ;
173
173
} ,
@@ -451,7 +451,7 @@ define([
451
451
allowedProductMinPrice = this . _getAllowedProductWithMinPrice ( allowedProducts ) ;
452
452
optionFinalPrice = parseFloat ( optionPrices [ allowedProductMinPrice ] . finalPrice . amount ) ;
453
453
optionPriceDiff = optionFinalPrice - finalPrice ;
454
- options [ i ] . label = options [ i ] . label_initial ;
454
+ options [ i ] . label = options [ i ] . initialLabel ;
455
455
456
456
if ( optionPriceDiff !== 0 ) {
457
457
options [ i ] . label += ' ' + priceUtils . formatPrice (
You can’t perform that action at this time.
0 commit comments