Index: /changelog
===================================================================
--- /changelog	(revision 7701)
+++ /changelog	(revision 7702)
@@ -353,2 +353,3 @@
 - Bugfix: Kein Fehler bei aktivierter FÃŒllmenge und erstmaligem speichern eines Produktes
 - Feature: Filter wpsg_sendMail zur Anpassung von Mails hinzugefÃŒgt
+- Feature: Suche nach ID: in der Produktverwaltung im Suchstring
Index: /model/wpsg_product.class.php
===================================================================
--- /model/wpsg_product.class.php	(revision 7701)
+++ /model/wpsg_product.class.php	(revision 7702)
@@ -870,30 +870,39 @@
 			if (wpsg_isSizedString($arFilter['price_min'])) $strQueryWHERE .= " AND P.`preis` >= '".wpsg_q($arFilter['price_min'])."' ";
 			if (wpsg_isSizedString($arFilter['price_max'])) $strQueryWHERE .= " AND P.`preis` <= '".wpsg_q($arFilter['price_max'])."' ";
-			if (wpsg_isSizedString($arFilter['s']))
-			{
-
-				$strQueryWHERE_OR = "";
-                
-                if ($GLOBALS['wpsg_sc']->hasMod('wpsg_mod_productvariants') && wpsg_isSizedInt($arFilter['searchExt']))
-                {
-                    
-                    $bJoinVariants = true;
-                     
-                    //$strQueryWHERE_OR .= " OR V.`name` LIKE '%".wpsg_q($arFilter['s'])."%' ";
-                    $strQueryWHERE_OR .= " OR VV.`name` LIKE '%".wpsg_q($arFilter['s'])."%' ";
-                    $strQueryWHERE_OR .= " OR VV.`shortname` LIKE '%".wpsg_q($arFilter['s'])."%' ";
-                    $strQueryWHERE_OR .= " OR PV.`anr` LIKE '%".wpsg_q($arFilter['s'])."%' ";
-                        
+
+            if (wpsg_isSizedString($arFilter['s']))
+            {
+
+                if (preg_match('/ID:(\d+)?/i', $arFilter['s'], $m)) {
+
+                    $strQueryWHERE .= " AND P.`id` = '".wpsg_q($m[1])."' ";
+
+                } else {
+
+                    $strQueryWHERE_OR = "";
+
+                    if ($GLOBALS['wpsg_sc']->hasMod('wpsg_mod_productvariants') && wpsg_isSizedInt($arFilter['searchExt']))
+                    {
+
+                        $bJoinVariants = true;
+
+                        //$strQueryWHERE_OR .= " OR V.`name` LIKE '%".wpsg_q($arFilter['s'])."%' ";
+                        $strQueryWHERE_OR .= " OR VV.`name` LIKE '%".wpsg_q($arFilter['s'])."%' ";
+                        $strQueryWHERE_OR .= " OR VV.`shortname` LIKE '%".wpsg_q($arFilter['s'])."%' ";
+                        $strQueryWHERE_OR .= " OR PV.`anr` LIKE '%".wpsg_q($arFilter['s'])."%' ";
+
+                    }
+
+                    $strQueryWHERE .= "
+						AND (							
+							P.`name` LIKE '%".wpsg_q($arFilter['s'])."%' OR
+							P.`anr` LIKE '%".wpsg_q($arFilter['s'])."%'
+							".$strQueryWHERE_OR."
+						)
+					";
+
                 }
 
-                $strQueryWHERE .= "
-					AND (
-						P.`name` LIKE '%".wpsg_q($arFilter['s'])."%' OR
-						P.`anr` LIKE '%".wpsg_q($arFilter['s'])."%'
-						".$strQueryWHERE_OR."
-					)
-				";
-
-			}
+            }
 
 			if (wpsg_isSizedArray($arFilter['cat_ids']) && $GLOBALS['wpsg_sc']->hasMod('wpsg_mod_produktartikel'))
Index: /mods/wpsg_mod_giropay.class.php
===================================================================
--- /mods/wpsg_mod_giropay.class.php	(revision 7701)
+++ /mods/wpsg_mod_giropay.class.php	(revision 7702)
@@ -191,5 +191,8 @@
 				$this->shop->view['wpsg_mod_giropay']['logo'] = $this->shop->arPayment[$payment]['logo'];
 				$this->shop->view['wpsg_mod_giropay']['title'] = __('Mit giropay bezahlen', 'wpsg');
-				$this->shop->view['wpsg_mod_giropay']['payLink'] = $this->getPayLink($order_id, $project_id, $project_pw);				
+				$this->shop->view['wpsg_mod_giropay']['payLink'] = $this->getPayLink($order_id, $project_id, $project_pw);
+
+				if (!wpsg_isSizedString($this->shop->view['wpsg_mod_giropay']['payLink'])) throw new \Exception($this->shop->view['wpsg_mod_giropay']['payLink']->error_msg);
+
 				$this->shop->render(WPSG_PATH_VIEW.'/mods/mod_giropay/order_done.phtml');
 				
