From b3a5fffa1a6d4c3d1d1b97da544da9aec97d5fbb Mon Sep 17 00:00:00 2001 From: thomas Date: Tue, 5 Jul 2016 06:50:29 +0000 Subject: - Bugfix - "Ausverkauft"-Anzeige bei Lagerbestand mit Varianten git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5647 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_productindex/layouts/grid.phtml | 2 +- views/mods/mod_productindex/layouts/list.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml index 9bdb8dc..ff5f973 100644 --- a/views/mods/mod_productindex/layouts/grid.phtml +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -170,7 +170,7 @@
- hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'checkBestand', array($p['id'], 1)) === false) { ?> + hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'checkBestand', array($this->getProduktID($p['id']), 1)) === false) { ?> diff --git a/views/mods/mod_productindex/layouts/list.phtml b/views/mods/mod_productindex/layouts/list.phtml index 22fb214..ca8d962 100644 --- a/views/mods/mod_productindex/layouts/list.phtml +++ b/views/mods/mod_productindex/layouts/list.phtml @@ -164,7 +164,7 @@
- hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'checkBestand', array($p['id'], 1)) === false) { ?> + hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'checkBestand', array($this->getProduktID($p['id']), 1)) === false) { ?> -- cgit v1.2.3