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([
167167 _setInitialOptionsLabels : function ( ) {
168168 $ . each ( this . options . spConfig . attributes , $ . proxy ( function ( index , element ) {
169169 $ . 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 ;
171171 } , this ) ) ;
172172 } , this ) ) ;
173173 } ,
@@ -451,7 +451,7 @@ define([
451451 allowedProductMinPrice = this . _getAllowedProductWithMinPrice ( allowedProducts ) ;
452452 optionFinalPrice = parseFloat ( optionPrices [ allowedProductMinPrice ] . finalPrice . amount ) ;
453453 optionPriceDiff = optionFinalPrice - finalPrice ;
454- options [ i ] . label = options [ i ] . label_initial ;
454+ options [ i ] . label = options [ i ] . initialLabel ;
455455
456456 if ( optionPriceDiff !== 0 ) {
457457 options [ i ] . label += ' ' + priceUtils . formatPrice (
You can’t perform that action at this time.
0 commit comments