Skip to content

Commit

Permalink
Update app/code/core/Mage/GoogleAnalytics/Block/Ga.php
Browse files Browse the repository at this point in the history
Co-authored-by: Mohamed ELIDRISSI <67818913+elidrissidev@users.noreply.github.com>
  • Loading branch information
empiricompany and elidrissidev committed Jun 21, 2023
1 parent 1450557 commit 7ad1527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/GoogleAnalytics/Block/Ga.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ protected function _getOrdersTrackingCodeAnalytics4()
'item_id' => $_product->getSku(),
'item_name' => $_product->getName(),
'price' => number_format($_product->getFinalPrice(), 2),
'quantity' => intval($productInCart->getQty()),
'quantity' => (int) $productInCart->getQty(),
];
if ($_product->getAttributeText('manufacturer')) {
$_item['item_brand'] = $_product->getAttributeText('manufacturer');
Expand Down

0 comments on commit 7ad1527

Please sign in to comment.