-
-
Notifications
You must be signed in to change notification settings - Fork 82
view_cart event firing twice #309
Copy link
Copy link
Open
Description
Magento version: 2.4.8-p2
Plugin version: 3.10.6
The view_cart event is firing twice. I have noticed that one of them comes from the customer section data which is then fired here magento/vendor/yireo/magento2-googletagmanager2/view/frontend/templates/hyva/script-additions.phtml and then the other comes from the yireo_googletagmanager2.data-layer block and the data is added here magento/vendor/yireo/magento2-googletagmanager2/view/frontend/layout/checkout_cart_index.xml. For now i have removed the block from the cart page. Is there a more permanent fix for this? I have added the Magento settings.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels