From 7c48ccd21dfca3a3628257798bd7a8d727df74d8 Mon Sep 17 00:00:00 2001 From: hartmut Date: Thu, 18 May 2017 10:03:49 +0000 Subject: Anzahlfeld und Warenkorbtaste unsichtbar wenn Bestand=0 git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6274 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/produkttemplates/standard.phtml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index b9d4c68..2a120ac 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -215,11 +215,12 @@ if (!function_exists('is_plugin_active')) view['oProduct']->canOrder()) { ?>
- - - view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?> - /> + 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'))) { ?>