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 0480d06 commit 2d236f7Copy full SHA for 2d236f7
app/code/Magento/GoogleGtag/Block/Ga.php
@@ -148,8 +148,8 @@ public function getOrdersTrackingData(): array
148
foreach ($order->getAllVisibleItems() as $item) {
149
$result['products'][] = [
150
'item_id' => $this->_escaper->escapeHtml($item->getSku()),
151
- 'item_name' => $this->_escaper->escapeHtmlAttr($item->getName()),
152
- 'affiliation' => $this->_escaper->escapeHtmlAttr(
+ 'item_name' => $this->_escaper->escapeHtml($item->getName()),
+ 'affiliation' => $this->_escaper->escapeHtml(
153
$this->_storeManager->getStore()->getFrontendName()
154
),
155
'price' => round((float) $item->getPrice(), 2),
0 commit comments