Skip to content

Commit ae359c1

Browse files
committed
Add new-state to order states for purchase event as well
1 parent 87bb801 commit ae359c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DataLayer/Event/Purchase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ private function getOrderStates(): array
9393
private function getDefaultOrderStates(): array
9494
{
9595
return [
96+
Order::STATE_NEW,
9697
Order::STATE_PENDING_PAYMENT,
9798
Order::STATE_PAYMENT_REVIEW,
9899
Order::STATE_HOLDED,

etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<view_cart_occurances>everywhere</view_cart_occurances>
1515
<view_cart_on_mini_cart_expand_only>0</view_cart_on_mini_cart_expand_only>
1616
<product_list_value_on_category>product_first_category</product_list_value_on_category>
17-
<order_states_for_purchase_event>payment_review,pending_payment,holded,processing,complete</order_states_for_purchase_event>
17+
<order_states_for_purchase_event>new,payment_review,pending_payment,holded,processing,complete</order_states_for_purchase_event>
1818
</settings>
1919
</googletagmanager2>
2020
</default>

0 commit comments

Comments
 (0)