Index: /lib/wpsg_basket.class.php
===================================================================
--- /lib/wpsg_basket.class.php	(revision 8459)
+++ /lib/wpsg_basket.class.php	(revision 8460)
@@ -1196,4 +1196,20 @@
 					
 				}
+
+				$checkout_country_id = intval($this->arCheckout['land']);
+				if ($checkout_country_id > 0) {
+
+					$wpsg_country = wpsg_country::getInstance( $checkout_country_id );
+
+					if ( $wpsg_country->getName() === 'Deutschland' && strlen( $this->arCheckout['plz'] ) != 5 ) {
+
+						$this->shop->addFrontendError( __( 'Postleitzahl gibt es in diesem Land nicht.', 'wpsg' ) );
+						$_SESSION['wpsg']['errorFields'][] = 'plz';
+						$_SESSION['wpsg']['errorFields'][] = 'land';
+						$bError                            = true;
+
+					}
+
+				}
 				
 				// UStIdNr prÃŒfen
