Index: /mods/wpsg_mod_productindex.class.php
===================================================================
--- /mods/wpsg_mod_productindex.class.php	(revision 6268)
+++ /mods/wpsg_mod_productindex.class.php	(revision 6269)
@@ -69,6 +69,6 @@
 					
 				$arTemplates = $this->getTemplates();
-				//$templatefile = $arTemplates[$template];
-				$templatefile = $template;
+				$templatefile = $arTemplates[$template];
+				//$templatefile = $template;
 				
 				//$this->shop->view['wpsg_mod_productindex']['template'] = $template;
Index: /mods/wpsg_mod_produktbilder.class.php
===================================================================
--- /mods/wpsg_mod_produktbilder.class.php	(revision 6268)
+++ /mods/wpsg_mod_produktbilder.class.php	(revision 6269)
@@ -735,4 +735,9 @@
 			global $wpdb;
 				
+			if ($this->shop->callMod('wpsg_mod_productvariants', 'isVariantsProductKey', array($produkt_id))) {
+				$ar = $this->shop->callMod('wpsg_mod_productvariants', 'explodeProductKey', array($produkt_id));
+				$produkt_id = $ar['product_id'];
+			}
+			
 			$arFiles = array();		
 			
