Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 5583)
+++ /controller/wpsg_ShopController.class.php	(revision 5586)
@@ -1154,4 +1154,38 @@
 		} // public function renderProdukt($produkt_id)
  		
+		/**
+		 * Shortcode für Warenkorbbutton, um Produkte aus Kategorieübersicht in Warenkorb zu legen (muss in jedem Beitrag eingefügt werden)
+		 */
+		public function shortcode_basket($atts, $content = '')
+		{
+				
+			$product_id = wpsg_getStr($atts['product']);
+			$title = wpsg_getStr($atts['title']);
+			$linktext = wpsg_getStr($atts['linktext']);
+				
+			/* Wenn kein Linktext im Beitrag, Linktext aus Template */
+			if (!wpsg_isSizedString($linktext)) $linktext = __('Produkt in den Warenkorb legen', 'wpsg');
+				
+			$product_url = $this->getProduktLink($product_id);
+				
+			$strReturn = '<a class="wpsg_button wpsg_button_categorie_basket wpsg_addProdukt ';
+				
+			/* Varianten=true -> öffnet Lightbox mit Variantenauswahl */
+			$strReturn .= (($this->callMod('wpsg_mod_varianten', 'isVariantProduct', array($product_id)))?'wpsg_variantProduct':'');
+				
+			$strReturn .= '" ';
+				
+			$strReturn .= ' data-product_id="'.wpsg_hspc($product_id).'" ';
+				
+			$strReturn .= ' href="'.wpsg_url($product_url).'" ';
+				
+			$strReturn .= ' title="'.wpsg_hspc($title).'" ';
+				
+			$strReturn .= '>'.wpsg_hspc($linktext).'</a>';
+				
+			return $strReturn;
+				
+		}
+		
 		/**
 		 * Verarbeitet den Shortcode wpsg
Index: /wpshopgermany.php
===================================================================
--- /wpshopgermany.php	(revision 5583)
+++ /wpshopgermany.php	(revision 5586)
@@ -193,4 +193,5 @@
 		
 		add_shortcode('wpshopgermany', array($GLOBALS['wpsg_sc'], 'shortcode'));
+		add_shortcode('wpshopgermany_link', array($GLOBALS['wpsg_sc'], 'shortcode_basket'));
 		
 		add_filter('the_title', array($GLOBALS['wpsg_sc'], 'the_filter'), 10, 2);
