Index: /mods/wpsg_mod_basic.class.php
===================================================================
--- /mods/wpsg_mod_basic.class.php	(revision 8478)
+++ /mods/wpsg_mod_basic.class.php	(revision 8479)
@@ -117,4 +117,5 @@
             5502 	=> 'wpsg_mod_ticket',
             5503 	=> 'wpsg_mod_paymentqr',
+            5504 	=> 'wpsg_mod_productmedia',
 			5600    => 'wpsg_mod_orderstates',
 			5700    => 'wpsg_mod_payone',
@@ -361,5 +362,7 @@
 		/** Wird im Produkttemplate eingebunden im unteren Bereich nach der Beschreibung */
 		public function product_bottom(&$produkt_key, $template_index) { }
- 		
+ 	
+		// public functiom
+		
 		/** Wird ÃŒber dem Warenkorb eingebunden (Rabatthinweis) */
 		public function basket_top() { } 
Index: /mods/wpsg_mod_export.class.php
===================================================================
--- /mods/wpsg_mod_export.class.php	(revision 8478)
+++ /mods/wpsg_mod_export.class.php	(revision 8479)
@@ -1953,5 +1953,9 @@
                     
                     $order = $oOrder->data;
-                    $order['custom_data'] = unserialize($oOrder->__get('custom_data'));
+					
+					$custom_data = $oOrder->__get('custom_data');
+					
+					if ($custom_data !== null) $order['custom_data'] = unserialize($custom_data);
+					else $order['custom_data'] = [];
 
                     /* Bestellvariablen */
Index: /mods/wpsg_mod_productvariants.class.php
===================================================================
--- /mods/wpsg_mod_productvariants.class.php	(revision 8478)
+++ /mods/wpsg_mod_productvariants.class.php	(revision 8479)
@@ -2546,5 +2546,5 @@
 
         public function wpsg_mod_export_loadFields(&$arFields) { 
-            
+        
             $arFields[10]['fields']['wpsg_mod_productvariants_varname'] = __('Varianten Name', 'wpsg');
             $arFields[10]['fields']['wpsg_mod_productvariants_varanr'] = __('Varianten Artikelnummer', 'wpsg');
Index: /views/produkttemplates/standard.phtml
===================================================================
--- /views/produkttemplates/standard.phtml	(revision 8478)
+++ /views/produkttemplates/standard.phtml	(revision 8479)
@@ -458,4 +458,6 @@
 
 	</div>
+	
+	<?php $this->callMods('product_bottom_end', array(&$this->view['data']['product_key'], $this->getTemplateIndex())); ?>
 
 </div>
