Index: /mods/wpsg_mod_export.class.php
===================================================================
--- /mods/wpsg_mod_export.class.php	(revision 8165)
+++ /mods/wpsg_mod_export.class.php	(revision 8166)
@@ -858,4 +858,5 @@
             $this->loadFields();
 
+			/** @var wpsg_order[] $arData */
             $arData = wpsg_order::find($arOrderFilter);
 
@@ -895,5 +896,21 @@
                     foreach ($profil['fields'] as $f) {
 
-                        $row[] = $this->getValue($f, $profil['field_delimiter'], $order_id);
+                        try {                     
+                        
+							$row[] = $this->getValue($f, $profil['field_delimiter'], $order_id);
+
+                        } catch (Throwable $e) {
+							
+							$arValues = [];
+							
+							foreach ($oOrder->getOrderProducts() as $oOrderProduct) {
+								
+								$arValues[] = $this->getValue($f, $profil['field_delimiter'], $order_id, $oOrderProduct->getProductId(), $oOrder->getCustomer()->getId(), $oOrderProduct->getId());
+								
+							}
+							
+							$row[] = implode(',', $arValues);
+							
+                        }
 
                     }
