Index: /views/produkttemplates/standard.phtml
===================================================================
--- /views/produkttemplates/standard.phtml	(revision 6304)
+++ /views/produkttemplates/standard.phtml	(revision 6305)
@@ -11,6 +11,6 @@
 	//$this->noReleatedProducts = true; 
 
-if (!function_exists('is_plugin_active'))
-	require_once(ABSPATH.'/wp-admin/includes/plugin.php');
+	if (!function_exists('is_plugin_active')) require_once(ABSPATH.'/wp-admin/includes/plugin.php');
+
 ?>
 <div class="container container-fluid-page">
@@ -214,9 +214,9 @@
 						<div class="wpsg_produkt_add_basket_wrapper">	
 							
-							<?php if ($this->hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?> 
+							<?php if (!$this->hasMod('wpsg_mod_stock') || $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?>
 								<label class="wpsg_amount_label" for="wpsg_menge_<?php echo $this->getTemplateIndex(); ?>"><?php echo __('Anzahl', 'wpsg'); ?>:</label>
 								<input type="text" value="<?php echo ((wpsg_isSizedInt($this->view['data']['menge']))?$this->view['data']['menge']:'1'); ?>" name="wpsg[menge]" class="wpsg_menge" id="wpsg_menge_<?php echo $this->getTemplateIndex(); ?>" 
 									<?php echo (($this->view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?>	
-								/>	
+								/>
 							<?php } ?>
 										
@@ -275,5 +275,5 @@
 						<?php if (($this->callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn') && ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '1')) || ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '0')) { ?>
 							<?php if ($this->callMods('productForSale', array($this->view['data']['product_key']))) { ?>
-								<?php if ($this->hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?> 
+								<?php if (!$this->hasMod('wpsg_mod_stock') || $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?> 
 
 									<input class="wpsg_button wpsg_add_basket wpsg_add_basket_<?php echo $this->getTemplateIndex(); ?>" type="submit" value="<?php echo __('In den Warenkorb', 'wpsg'); ?>" name="wpsg[submit]" />
