From d87b3436d1efd7ef26fb39caa78bcf55e1f213b7 Mon Sep 17 00:00:00 2001 From: Jisse Reitsma Date: Tue, 28 Nov 2023 08:08:27 +0100 Subject: [PATCH] Make sure to use `gtm-checkout` in the checkout, not customerData `cart` --- CHANGELOG.md | 4 ++++ composer.json | 2 +- etc/frontend/sections.xml | 3 +++ .../web/js/checkout/payment-validator/reload-customer-data.js | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09c9baa2..c0b90dce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.6.5] - 28 November 2023 +### Fixed +- Make sure to use `gtm-checkout` in the checkout, not customerData `cart` + ## [3.6.4] - 10 October 2023 ### Fixed - Prevent addShippingInfo from triggering an error in integration API #195 @rhoerr diff --git a/composer.json b/composer.json index 9cca323f..a7230898 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "yireo/magento2-googletagmanager2", - "version": "3.6.4", + "version": "3.6.5", "license": "OSL-3.0", "type": "magento2-module", "homepage": "https://www.yireo.com/software/magento-extensions/googletagmanager2", diff --git a/etc/frontend/sections.xml b/etc/frontend/sections.xml index 74978435..f5f3cbf2 100644 --- a/etc/frontend/sections.xml +++ b/etc/frontend/sections.xml @@ -1,6 +1,9 @@ + +
+
diff --git a/view/frontend/web/js/checkout/payment-validator/reload-customer-data.js b/view/frontend/web/js/checkout/payment-validator/reload-customer-data.js index 611ab07d..b6836514 100644 --- a/view/frontend/web/js/checkout/payment-validator/reload-customer-data.js +++ b/view/frontend/web/js/checkout/payment-validator/reload-customer-data.js @@ -6,7 +6,7 @@ define([ return { validate: function () { logger('payment-validator-reload-customer-data'); - customerData.reload(['cart'], true); + customerData.reload(['gtm-checkout'], true); return true; } }