Index: /model/wpsg_order.class.php
===================================================================
--- /model/wpsg_order.class.php	(revision 8526)
+++ /model/wpsg_order.class.php	(revision 8527)
@@ -1399,4 +1399,6 @@
 			if ($bJoinOrderAdress === true) $strQueryJOIN .= " LEFT JOIN `".WPSG_TBL_ADRESS."` AS OA ON (OA.`id` = O.`adress_id`) ";
 			if ($bJoinVoucher === true) $strQueryJOIN .= " LEFT JOIN `".WPSG_TBL_ORDER_VOUCHER."` AS OV ON (OV.`order_id` = O.`id`) ";
+
+			wpsg_ShopController::getShop()->callMods('wpsg_order_getQueryParts', [$arFilter, &$strQuerySELECT, &$strQueryWHERE, &$strQueryJOIN, &$strQueryHAVING, &$strQueryORDER]);
 			
 			return array($strQuerySELECT, $strQueryWHERE, $strQueryJOIN, $strQueryHAVING, $strQueryORDER);
