From 82e96dc56069fa0fcd7c50fbb687e6d999e9d109 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Tue, 8 Oct 2019 05:26:06 +0000 Subject: - Bugfix: Preisanzeige an, wenn Kundenverwaltung inaktiv, egal wie es vorher eingestellt war / Task #685 git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7583 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_productindex/layouts/grid.phtml | 2 +- views/mods/mod_productindex/layouts/list.phtml | 2 +- views/mods/mod_productvariants/produkt.phtml | 4 ++-- views/mods/mod_scaleprice/product_bottom.phtml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'views') diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml index 69d9cef..427b532 100644 --- a/views/mods/mod_productindex/layouts/grid.phtml +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -134,7 +134,7 @@ - callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn') && ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '1')) || ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '0')) { ?> + canDisplayPrice()) { ?> hasMod('wpsg_mod_discount') && $this->get_option('wpsg_mod_discount_productindex') == '1') { ?> getOldPrice(); ?> diff --git a/views/mods/mod_productindex/layouts/list.phtml b/views/mods/mod_productindex/layouts/list.phtml index 4abf5a2..fa1eb24 100644 --- a/views/mods/mod_productindex/layouts/list.phtml +++ b/views/mods/mod_productindex/layouts/list.phtml @@ -128,7 +128,7 @@
- callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn') && ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '1')) || ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '0')) { ?> + canDisplayPrice()) { ?>
diff --git a/views/mods/mod_productvariants/produkt.phtml b/views/mods/mod_productvariants/produkt.phtml index b4934fd..dee687e 100644 --- a/views/mods/mod_productvariants/produkt.phtml +++ b/views/mods/mod_productvariants/produkt.phtml @@ -38,7 +38,7 @@ - callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn') && ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '1')) || ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '0')) { ?> + canDisplayPrice()) { ?> callMod('wpsg_mod_productvariants', 'showVariPrice', array($vari['price']))) { ?> (get_option('wpsg_currency')); ?>) @@ -103,7 +103,7 @@ - callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn') && ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '1')) || ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '0')) { ?> + canDisplayPrice()) { ?> callMod('wpsg_mod_productvariants', 'showVariPrice', array($vari['price']))) { ?> (get_option('wpsg_currency')); ?>) diff --git a/views/mods/mod_scaleprice/product_bottom.phtml b/views/mods/mod_scaleprice/product_bottom.phtml index e8e86db..46d34fa 100644 --- a/views/mods/mod_scaleprice/product_bottom.phtml +++ b/views/mods/mod_scaleprice/product_bottom.phtml @@ -8,7 +8,7 @@ ?>
- callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn') && ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '1')) || ($this->get_option('wpsg_mod_kundenverwaltung_preisAnzeige') == '0')) { ?> + canDisplayPrice()) { ?> view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
-- cgit v1.2.3