Skip to content

Commit

Permalink
--delete order by country shipping address.
Browse files Browse the repository at this point in the history
  • Loading branch information
Linhnv1902 committed Nov 9, 2022
1 parent 634ef9f commit 7c12cc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ public function getMatchingOrders($storeId = null, $limit = 1000)
'main_table.entity_id = soa.parent_id',
[]
)
->where('soa.country_id IN (?)', $this->getCountriesConfig($storeId));
->where('soa.country_id IN (?)', $this->getCountriesConfig($storeId))
->where('soa.address_type IN (?)', 'shipping');
}

return $orderCollection;
Expand Down

0 comments on commit 7c12cc6

Please sign in to comment.