yireo-magento1 / Yireo_GoogleTagManager

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

Price has four decimals, make it two #79

Closed mikebranderhorst closed 6 years ago

mikebranderhorst commented 6 years ago

app/code/community/Yireo/GoogleTagManager/Block/Quote.php:84 app/code/community/Yireo/GoogleTagManager/Block/Order.php:83

'price' => $price,

'price' => number_format($price, 2),

app/code/local/Yireo/GoogleTagManager/Observer/ProductListData.php:125

$data['price'] = $price;

$data['price'] = number_format($price, 2);

jissereitsma commented 6 years ago

Could you create a Pull Request for this? Adding an issue that offers an entire solution, is actually still more work than a simple PR ...

jissereitsma commented 6 years ago

https://github.com/yireo/Yireo_GoogleTagManager/commit/616868a39b95dd3e92c2516b6babe14fae238335