Closed sprankhub closed 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.
\Yireo_GoogleTagManager_Helper_Script::addEcommerceData
\Yireo_GoogleTagManager_Helper_Script::getEcommerceData
empty($this->ecommerceData)
In the checkout,
\Yireo_GoogleTagManager_Helper_Script::addEcommerceData
is called before\Yireo_GoogleTagManager_Helper_Script::getEcommerceData
. Hence, the old checkempty($this->ecommerceData)
fails and the currency code is not pushed.