We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc0fa80 + 487d485 commit 4688bbaCopy full SHA for 4688bba
app/code/Magento/Msrp/view/base/web/js/msrp.js
@@ -352,8 +352,11 @@ define([
352
$(this.options.mapInfoLinks).show();
353
354
if (useDefaultPrice || !this.wasOpened) {
355
- this.$popup.find(this.options.msrpLabelId).html(options.msrpPrice);
356
- this.$popup.find(this.options.priceLabelId).html(options.realPrice);
+ if (this.$popup) {
+ this.$popup.find(this.options.msrpLabelId).html(options.msrpPrice);
357
+ this.$popup.find(this.options.priceLabelId).html(options.realPrice);
358
+ }
359
+
360
$(this.options.displayPriceElement).html(msrpPrice);
361
this.wasOpened = true;
362
}
0 commit comments