magento2-google-tag-manager icon indicating copy to clipboard operation
magento2-google-tag-manager copied to clipboard

Last quote and order information lost from checkout session

Open mischabraam opened this issue 1 year ago • 0 comments

The module obviously renders several blocks for tracking purposes. One of those blocks is rendered after a successful checkout. However, rendering this block removes last quote and last order information from the checkout session.

Magento 2.4.6 Enterprise now has new Google modules, amongst them also for GTM. This module tries to render a block at the same location and is dependant on these session values, which are no longer there.

Expected behavior:

The checkout session stays in tact.

Actual behavior:

The checkout session loses information about last quote and last order.

Steps to reproduce:

  • Install Magento 2.4.6
  • Add this module
  • Have both enabled
  • Purchase something

mischabraam avatar Apr 21 '23 11:04 mischabraam