We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b63dc commit 7c6e9bcCopy full SHA for 7c6e9bc
app/code/Magento/GoogleGtag/Block/Ga.php
@@ -187,7 +187,7 @@ public function getOrdersTrackingData(): array
187
$resultOrder = [
188
'transaction_id' => $order->getIncrementId(),
189
'currency' => $order->getOrderCurrencyCode(),
190
- 'value' => round($order->getGrandTotal(), 2),
+ 'value' => round((float) $order->getGrandTotal(), 2),
191
'tax' => round((float) $order->getTaxAmount(), 2),
192
'shipping' => round((float) $order->getShippingAmount(), 2),
193
];
0 commit comments