Commit 76989a22 by halweg

fix : fix goods detail page google gtm

parent 057a55f5
...@@ -57,7 +57,7 @@ $product = $objectManager->get('Magento\Framework\Registry')->registry('current_ ...@@ -57,7 +57,7 @@ $product = $objectManager->get('Magento\Framework\Registry')->registry('current_
'event': 'view_item', 'event': 'view_item',
'value': '<?= $product->getFinalPrice() ?>', 'value': '<?= $product->getFinalPrice() ?>',
'items': [{ 'items': [{
'id': <?= $product->getSku() ?>, 'id': '<?= $product->getSku() ?>',
'google_business_vertical': 'retail'}] 'google_business_vertical': 'retail'}]
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment