summaryrefslogtreecommitdiff
path: root/views/mods/mod_scaleprice
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-10-08 05:26:06 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-10-08 05:26:06 +0000
commit82e96dc56069fa0fcd7c50fbb687e6d999e9d109 (patch)
treee261734b425d49d9c78548b649c44e7bbb18266a /views/mods/mod_scaleprice
parent04ee0d2aa082e6da48dd509b6001ecc66829541a (diff)
- 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
Diffstat (limited to 'views/mods/mod_scaleprice')
-rw-r--r--views/mods/mod_scaleprice/product_bottom.phtml2
1 files changed, 1 insertions, 1 deletions
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 @@
?>
<div class="wpsg_mod_scaleprice_producttemplate">
<?php /* Abfrage Preisanzeige nur für eingeloggte Benutzer START */?>
- <?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->canDisplayPrice()) { ?>
<?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
<?php echo __('Das Produkt hat einen gestaffelten Preis, dieser ergibt sich Anhand der Menge wie folgt:', 'wpsg'); ?><br />