Skip to content

Commit

Permalink
MAGETWO-53139: Price of last customizable options add to price on pro…
Browse files Browse the repository at this point in the history
…duct page
  • Loading branch information
Yaroslav Onischenko committed Jun 13, 2016
1 parent 2b11da1 commit f32e362
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/code/Magento/Catalog/view/base/web/js/price-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ define([
$(this.options.priceHolderSelector).trigger('updatePrice', changes);
},


/**
* Helper to fix issue with option nodes:
* - you can't place any html in option ->
Expand Down Expand Up @@ -174,7 +173,10 @@ define([
break;

case 'radio':

if (element.is(':checked')) {
changes[optionHash] = optionConfig[optionValue] && optionConfig[optionValue].prices || {};
}
break;
case 'select-one':
changes[optionHash] = optionConfig[optionValue] && optionConfig[optionValue].prices || {};
break;
Expand Down

0 comments on commit f32e362

Please sign in to comment.