Skip to content

Commit

Permalink
Fixed transaction shipping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Clement committed Feb 21, 2014
1 parent bfdc843 commit fe4cff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlmGoogleAnalytics/View/Helper/Script/Analyticsjs.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ protected function prepareTransaction(Transaction $transaction)
$transactionParams['revenue'] = $revenue;
}

$shipping = $transaction->getItems();
$shipping = $transaction->getShipping();
if ($shipping !== null) {
$transactionParams['shipping'] = $shipping;
}
Expand Down

0 comments on commit fe4cff5

Please sign in to comment.