Index: /lib/wpsg_cache.class.php
===================================================================
--- /lib/wpsg_cache.class.php	(revision 6107)
+++ /lib/wpsg_cache.class.php	(revision 6108)
@@ -205,5 +205,6 @@
 				$this->_arKunden[$kunde_id] = $this->_db->fetchRow("
 					SELECT
-						C.*, CA.*
+						C.*,
+						CA.`title`, CA.`name`, CA.`vname`, CA.`firma`, CA.`fax`, CA.`strasse`, CA.`nr`, CA.`plz`, CA.`ort`, CA.`land`, CA.`tel` 
 					FROM
 						`".WPSG_TBL_KU."` AS C
Index: /mods/wpsg_mod_produktbilder.class.php
===================================================================
--- /mods/wpsg_mod_produktbilder.class.php	(revision 6107)
+++ /mods/wpsg_mod_produktbilder.class.php	(revision 6108)
@@ -526,18 +526,12 @@
 		public function getProductImage_MT($product_key, $size = 'thumbnail')
 		{
-				
+			
+			global $wpdb;
+			
 			$product_id = $this->shop->getProduktID($product_key);
-			global $wpdb;
-			$data = $this->db->fetchAssoc("SELECT * FROM `".$wpdb->prefix."postmeta` WHERE `meta_key`='".wpsg_q('wpsg_produkt_id')."' AND `meta_value`='".wpsg_q($product_id)."' ");
-				
-			if (!wpsg_isSizedArray($data))
-			{
-		
-				$file = $this->shop->getRessourcePath('mods/mod_produktbilder/dummy.jpg');
-		
-				if (!file_exists($file)) return false;
-				else return $file;
-		
-			}
+			
+			$data = $this->db->fetchAssoc("SELECT * FROM `".$wpdb->prefix."postmeta` WHERE `meta_key` = '".wpsg_q('wpsg_produkt_id')."' AND `meta_value` = '".wpsg_q($product_id)."' ");
+				
+			if (!wpsg_isSizedArray($data)) return false;
 
 			$p = wp_get_attachment_image_src($data[0]['post_id'], $size);	// Array mit Full-Path, Width, Height
Index: /mods/wpsg_mod_versandarten.class.php
===================================================================
--- /mods/wpsg_mod_versandarten.class.php	(revision 6107)
+++ /mods/wpsg_mod_versandarten.class.php	(revision 6108)
@@ -398,4 +398,58 @@
 		} // public function calcShipping(&$arBasket) 
 		
+		public function checkCheckout(&$state, &$error, &$arCheckout) 
+		{ 
+			
+			$bOK = false;
+			
+			// Alle mÃ¶glichen Versandarten durchgehen und schauen ob es eine PLZ BeschrÃ€nkung gibt
+			foreach ($this->shop->arShipping as $shipping_key => $shipping)
+			{
+								
+				$bOKShipping = true;
+				
+				if (preg_match('/^'.$this->id.'_\d+/', $shipping_key))
+				{
+				
+					$va_id = preg_replace('/^'.$this->id.'_/', '', $shipping_key);				
+					$va = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_VA."` WHERE `id` = '".wpsg_q($va_id)."' ");
+					
+					$kosten_plz = @unserialize($va['kosten_plz']);
+									
+					if (wpsg_isSizedInt($va['vz']) && wpsg_isSizedArray($kosten_plz)) 
+					{
+						
+						$arPLZ = $this->getDefinedPLZAreas($va['vz']);
+							
+						foreach ($arPLZ as $plz_index => $plz)
+						{
+							
+							$arPLZ = wpsg_trim(explode(',', $plz));
+							
+							if ($kosten_plz[$plz_index] === 'noshipping') $bOKShipping = false;
+													
+						}
+						
+					}
+					
+				}
+				
+				$bOK = $bOK || $bOKShipping;
+				
+				// Sobald eine Ok ist, kann ich aufhÃ¶ren zu schleifen :D
+				if ($bOK === true) break;
+				
+			}
+			
+			if ($bOK === false)
+			{
+							
+				$error = true;
+				$this->shop->addFrontendError(__('Ein Versand in dieses Postleitzahlengebiet ist nicht mÃ¶glich.'));
+											
+			}
+						
+		} // public function checkCheckout(&$state, &$error, &$arCheckout)
+		
 		/**
 		 * Berechnet die Kosten anhand des KostenschlÃŒssels fÃŒr den Warenkorb
