yireo-magento1 / Yireo_GoogleTagManager

Implement Google Tag Manager in Magento 1 (deprecated)
Open Software License 3.0
56 stars 46 forks source link

Fix missing currency code in checkout #109

Closed sprankhub closed 4 years ago

sprankhub commented 4 years ago

In the checkout, \Yireo_GoogleTagManager_Helper_Script::addEcommerceData is called before \Yireo_GoogleTagManager_Helper_Script::getEcommerceData. Hence, the old check empty($this->ecommerceData) fails and the currency code is not pushed.