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.
1 parent 7faf048 commit 1ca44a0Copy full SHA for 1ca44a0
app/code/Magento/Msrp/view/base/templates/product/price/msrp.phtml
@@ -56,7 +56,7 @@ if ($product->isSaleable()) {
56
$data = ['addToCart' => [
57
'origin'=> 'msrp',
58
'popupId' => '#' . $popupId,
59
- 'productName' => $block->escapeHtml($product->getName()),
+ 'productName' => $block->escapeJs($block->escapeHtml($product->getName())),
60
'productId' => $productId,
61
'productIdInput' => 'input[type="hidden"][name="product"]',
62
'realPrice' => $block->getRealPriceHtml(),
0 commit comments