Skip to content

Commit ce690a2

Browse files
MC-10973: Simple product with MAP assigned to configurable should displays the same way as products with special price
- Fix static test.
1 parent 6d23b2a commit ce690a2

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Msrp/view/base/web/js

1 file changed

+2
-2
lines changed

app/code/Magento/Msrp/view/base/web/js/msrp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,14 +347,14 @@ define([
347347
$(this.options.displayPriceContainer).show();
348348
$(this.options.mapInfoLinks).show();
349349

350-
if(useDefaultPrice || !this.wasOpened) {
350+
if (useDefaultPrice || !this.wasOpened) {
351351
this.$popup.find(this.options.msrpLabelId).html(options.msrpPrice);
352352
this.$popup.find(this.options.priceLabelId).html(options.realPrice);
353353
$(this.options.displayPriceElement).html(msrpPrice);
354354
this.wasOpened = true;
355355
}
356356

357-
if(!useDefaultPrice) {
357+
if (!useDefaultPrice) {
358358
this.$popup.find(this.options.msrpPriceElement).html(msrpPrice);
359359
this.$popup.find(this.options.priceElement).html(finalPrice);
360360
$(this.options.displayPriceElement).html(msrpPrice);

0 commit comments

Comments
 (0)