From 81dc3487b6efef1bcb775bd0f1e2d50529449536 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Fri, 2 Jun 2017 10:55:23 +0000 Subject: - Korrektur bei deaktiviertem Lagerbestandsmodul git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6305 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/produkttemplates/standard.phtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index 3243cbb..3b3b59a 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -10,8 +10,8 @@ // Damit keine Zubehörprodukte ausgegeben werden //$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'); + ?>
@@ -213,11 +213,11 @@ if (!function_exists('is_plugin_active')) view['oProduct']->canOrder()) { ?>
- hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?> + hasMod('wpsg_mod_stock') || $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?> view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?> - /> + /> get_option('wpsg_afterinsert'), array('2', '3'))) { ?> @@ -274,7 +274,7 @@ if (!function_exists('is_plugin_active'))
callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn') && ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '1')) || ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '0')) { ?> callMods('productForSale', array($this->view['data']['product_key']))) { ?> - hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?> + hasMod('wpsg_mod_stock') || $this->callMod('wpsg_mod_stock', 'getBestand', array($this->view['data']['id']))) { ?> -- cgit v1.2.3