diff options
| author | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-01 19:41:01 +0200 |
|---|---|---|
| committer | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-01 19:41:01 +0200 |
| commit | f3e250d38f525736cefcaf1c3e316f9e7cbc40a2 (patch) | |
| tree | 93de2b721dc718bd508a47f2791d2e68049324f9 /views/blocks | |
| parent | 7f6ed6404949aadf2a422494ea22188754e4e09c (diff) | |
Blöcke: Kleinunternehmer-Hinweis unter der Liste
„Endpreis“ in Produktliste und Produktansichten verweist auf den Hinweistext unter der jeweiligen Liste statt auf ein fehlendes Ziel (K44).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/blocks')
| -rw-r--r-- | views/blocks/product-list.phtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/blocks/product-list.phtml b/views/blocks/product-list.phtml index 1f7e0a1..de1b1ea 100644 --- a/views/blocks/product-list.phtml +++ b/views/blocks/product-list.phtml @@ -12,6 +12,7 @@ $arBlock = $this->view['wpsg_block']; $currency = $this->get_option('wpsg_currency'); + $hint_id = \wpsg\Blocks::kleinunternehmerHintID(); ?> <?php if (sizeof($arBlock['arProducts']) === 0) { ?> @@ -40,7 +41,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 echo \wpsg\Blocks::priceNote($oProduct); ?></div> + <div class="wpsg-product-list__taxnote wpsg_produkt_preishinweis"><?php echo \wpsg\Blocks::priceNote($oProduct, $hint_id); ?></div> <?php } else { ?> <div class="wpsg-product-list__price"><?php echo esc_html__('Preise nur für eingeloggte Benutzer', 'wpsg'); ?></div> <?php } ?> @@ -61,4 +62,5 @@ </li> <?php } ?> </ul> +<?php echo \wpsg\Blocks::kleinunternehmerHint($hint_id); ?> <?php } ?> |
