Skip to content

Commit 894fae5

Browse files
committed
Fix #7200 - static test fix
1 parent 32278f8 commit 894fae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)