Skip to content

Commit e66d8a0

Browse files
committed
MAGETWO-70634: Issues in customizable options section of add/edit product pages
1 parent e16c0bf commit e66d8a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/components/custom-options-price-type.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ define([
3535
* Update addbefore for price field. Change it to currency or % depends of price_type value.
3636
*/
3737
updateAddBeforeForPrice: function () {
38-
var addBefore, currentValue, priceIndex, priceName;
38+
var addBefore, currentValue, priceIndex, priceName, uiPrice;
3939

4040
priceIndex = typeof this.imports.priceIndex == 'undefined' ? 'price' : this.imports.priceIndex;
4141
priceName = this.parentName + '.' + priceIndex;
4242

43-
var uiPrice = uiRegistry.get(priceName);
43+
uiPrice = uiRegistry.get(priceName);
4444

4545
if (uiPrice && uiPrice.addbeforePool) {
4646
currentValue = this.value();

0 commit comments

Comments
 (0)