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/mods | |
| 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/mods')
| -rw-r--r-- | views/mods/mod_productview/productview.phtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/mods/mod_productview/productview.phtml b/views/mods/mod_productview/productview.phtml index c3fbc57..b6219cd 100644 --- a/views/mods/mod_productview/productview.phtml +++ b/views/mods/mod_productview/productview.phtml @@ -13,6 +13,7 @@ $v = $this->view['wpsg_mod_productview']; $atts = $v['atts']; $currency = $this->get_option('wpsg_currency'); + $hint_id = \wpsg\Blocks::kleinunternehmerHintID(); $prefix = (($atts['key'] === 'default')?'pv-':'pv-'.$atts['key'].'-'); $arOrder = $v['arOrder']; @@ -97,7 +98,7 @@ <?php if ($this->hasMod('wpsg_mod_fuellmenge')) { ?> <div class="wpsg-pv__baseprice"><?php echo $this->callMod('wpsg_mod_fuellmenge', 'renderPriceInfo', [$price, $oProduct->fmenge, $product_id]); ?></div> <?php } ?> - <p class="wpsg-pv__taxnote wpsg_produkt_preishinweis"><?php echo \wpsg\Blocks::priceNote($oProduct); ?></p> + <p class="wpsg-pv__taxnote wpsg_produkt_preishinweis"><?php echo \wpsg\Blocks::priceNote($oProduct, $hint_id); ?></p> <?php } else { ?> <p class="wpsg-pv__price"><?php echo esc_html__('Preise werden nur für angemeldete Benutzer angezeigt.', 'wpsg'); ?></p> <?php } ?> @@ -143,6 +144,7 @@ </li> <?php } ?> </ul> + <?php echo \wpsg\Blocks::kleinunternehmerHint($hint_id); ?> <?php } ?> <?php if ($v['pages'] > 1) { ?> |
