From 369c19d9d105253dca56ffc180a93bae507c3c4c Mon Sep 17 00:00:00 2001 From: Alex Koepke Date: Thu, 29 Sep 2016 16:39:01 -0400 Subject: [PATCH] add discount amount --- app/code/local/MagePal/GoogleTagManager/Block/Tm.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/local/MagePal/GoogleTagManager/Block/Tm.php b/app/code/local/MagePal/GoogleTagManager/Block/Tm.php index 670dc51..6dcf1c8 100755 --- a/app/code/local/MagePal/GoogleTagManager/Block/Tm.php +++ b/app/code/local/MagePal/GoogleTagManager/Block/Tm.php @@ -75,6 +75,7 @@ protected function getOrdersTrackingCode() 'transactionTotal' => $order->getBaseGrandTotal(), 'transactionShipping' => $order->getBaseShippingAmount(), 'discountCode' => $order->getCouponCode(), + 'discountPrice' => $order->getDiscountAmount(), 'transactionProducts' => $product );