We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8112a38 commit d26f8daCopy full SHA for d26f8da
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