From eec1c382501664b0a3da012bebca284bd01de789 Mon Sep 17 00:00:00 2001 From: Sky-bits <110609906+Sky-bits@users.noreply.github.com> Date: Fri, 16 Sep 2022 12:09:32 +0530 Subject: [PATCH] Update dataLayer-allPages.js correct the discount.amount Spelling Reference verify with shopify Official document --- dataLayer-allPages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataLayer-allPages.js b/dataLayer-allPages.js index d2abd76..38e4e8f 100755 --- a/dataLayer-allPages.js +++ b/dataLayer-allPages.js @@ -508,7 +508,7 @@ __DL__jQueryinterval = setInterval(function(){ 'transactionSubtotal' : {{checkout.subtotal_price | money_without_currency| remove: "," | json}}, {% for discount in checkout.discounts %} 'promoCode' : {{discount.code | json}}, - 'discount' : {{discount.amoun t | money_without_currency | json}}, + 'discount' : {{discount.amount | money_without_currency | json}}, {% endfor %} 'products': __DL__products