summaryrefslogtreecommitdiff
path: root/views/mods/mod_scaleprice
diff options
context:
space:
mode:
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 />