Skip to content

Commit 89105d4

Browse files
committed
fix: wooCommerce cart total empty data issue
1 parent 3fca2cd commit 89105d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

includes/Triggers/WC/WCHelper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ public static function accessOrderData($order)
169169
$data = [
170170
'id' => $order->get_id() ?? '',
171171
'order_key' => $order->get_order_key() ?? '',
172-
'card_tax' => $order->get_cart_tax() ?? '',
172+
'cart_tax' => $order->get_cart_tax() ?? '',
173+
'cart_total' => $order->get_cart_total() ?? '',
173174
'currency' => $order->get_currency() ?? '',
174175
'discount_tax' => $order->get_discount_tax() ?? '',
175176
'discount_to_display' => $order->get_discount_to_display() ?? '',

0 commit comments

Comments
 (0)