Index: /changelog
===================================================================
--- /changelog	(revision 8216)
+++ /changelog	(revision 8217)
@@ -561,2 +561,3 @@
 - Bugfix: Rechnungsmodul: Anzeigefehler von Produktsumme behoben
 - Bugfix: Link zum Download von multiRechnungen korrigiert
+- Bugfix: Bestellexport von Produktvariablen korrigiert
Index: /mods/wpsg_mod_export.class.php
===================================================================
--- /mods/wpsg_mod_export.class.php	(revision 8216)
+++ /mods/wpsg_mod_export.class.php	(revision 8217)
@@ -1917,5 +1917,5 @@
                 if ($this->shop->hasMod('wpsg_mod_ordervars')) {
 
-                    $order['bvars'] = @unserialize($order['bvars']);
+                    $order['bvars'] = @unserialize($oOrder->__get('bvars'));
 
                 }
@@ -1924,5 +1924,5 @@
                 if ($this->shop->hasMod('wpsg_mod_productvars')) {
 
-                    $order['pvars'] = @unserialize($order['pvars']);
+                    $order['pvars'] = @unserialize($oOrder->__get('pvars'));
 
                 }
@@ -2348,13 +2348,13 @@
 
                         $produktvarid = substr($field_value, 3);
-
+                        
                         // Produktvariable (index kann auch 0 sein)
                         if (isset($order['pvars'][$oOrderProduct->getProductIndex()])) {
 
-                            $return = $order['pvars'][$oOrderProduct->getProductIndex()][$produktvarid];
+                            $return = $order['pvars'][$oOrderProduct->getProductIndex()][$produktvarid]??'';
 
                         } else {
 
-                            $return = $order['pvars'][$oOrderProduct->getProductKey()][$produktvarid];
+                            $return = $order['pvars'][$oOrderProduct->getProductKey()][$produktvarid]??'';
 
                         }
