summaryrefslogtreecommitdiff
path: root/views/blocks
diff options
context:
space:
mode:
Diffstat (limited to 'views/blocks')
-rw-r--r--views/blocks/product-list.phtml11
1 files changed, 1 insertions, 10 deletions
diff --git a/views/blocks/product-list.phtml b/views/blocks/product-list.phtml
index f2e83c6..1f7e0a1 100644
--- a/views/blocks/product-list.phtml
+++ b/views/blocks/product-list.phtml
@@ -40,16 +40,7 @@
<?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?>
<div class="wpsg-product-list__baseprice"><?php echo $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', [$price, $oProduct->__get('fmenge'), $product_id]); ?></div>
<?php } ?>
- <div class="wpsg-product-list__taxnote wpsg_produkt_preishinweis">
- <?php $shipping = '<a href="'.esc_url($this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN)).'">'.esc_html__('Versandkosten', 'wpsg').'</a>'; ?>
- <?php if ($this->get_option('wpsg_kleinunternehmer')) { ?>
- <?php echo wpsg_translate(esc_html__('Endpreis zzgl. #1#', 'wpsg'), $shipping); ?>
- <?php } else if ($this->getFrontendTaxview() == WPSG_NETTO) { ?>
- <?php echo wpsg_translate(esc_html__('(zzgl. #1#% MwSt. und zzgl. #2#)', 'wpsg'), esc_html(wpsg_ff($oProduct->getFrontendTaxValue())), $shipping); ?>
- <?php } else { ?>
- <?php echo wpsg_translate(esc_html__('(inkl. #1#% MwSt. und zzgl. #2#)', 'wpsg'), esc_html(wpsg_ff($oProduct->getFrontendTaxValue())), $shipping); ?>
- <?php } ?>
- </div>
+ <div class="wpsg-product-list__taxnote wpsg_produkt_preishinweis"><?php echo \wpsg\Blocks::priceNote($oProduct); ?></div>
<?php } else { ?>
<div class="wpsg-product-list__price"><?php echo esc_html__('Preise nur für eingeloggte Benutzer', 'wpsg'); ?></div>
<?php } ?>