Skip to content

Commit

Permalink
Fix items in add_shipping_info and add_payment_info
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed May 14, 2024
1 parent 78bb8fe commit e7a4b5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/integration/woocommerce-checkout.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/js/woocommerce-checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function gtmkitShippingEvent() {
currency: window.gtmkit_data.wc.currency,
value: window.gtmkit_data.wc.cart_value,
shippingTier,
items: [items],
items: items,
},
});

Expand Down Expand Up @@ -209,7 +209,7 @@ function gtmkitPaymentEvent() {
currency: window.gtmkit_data.wc.currency,
value: window.gtmkit_data.wc.cart_value,
payment_type: paymentType,
items: [items],
items: items,
},
});

Expand Down

0 comments on commit e7a4b5c

Please sign in to comment.