summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-10-03 14:57:03 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-10-03 14:57:03 +0200
commit33700f5616024266e3a94be23dc8b056998ac3b4 (patch)
tree887257323a44ad0c1ee439791fc499058a738ef3
parent1e5d85875aae1a895713b94a168a1c224e1da4d5 (diff)
Block Produktliste: Überschriftsebene der Produkte wählbar
H2, H3 oder H4, Vorgabe H3. Die Demoseite Produktfilter nutzt H2 unter dem Seitentitel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--views/blocks/product-list.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/blocks/product-list.phtml b/views/blocks/product-list.phtml
index 9b1d103..be33534 100644
--- a/views/blocks/product-list.phtml
+++ b/views/blocks/product-list.phtml
@@ -34,7 +34,7 @@
<?php /* Etiketten am Bild, nur im Modus „neu“ (Punkt 8.15) */ if (\wpsg\ThemeStyle::isThemeMode()) echo \wpsg\ProductPage::labels($oProduct, floatval($oProduct->getPrice($product_id))); ?>
- <h3 class="wpsg-product-list__title"><a href="<?php echo esc_url($p['url']); ?>"><?php echo esc_html($name); ?></a></h3>
+ <?php $h = 'h'.intval($arBlock['titleLevel']??3); ?><<?php echo $h; ?> class="wpsg-product-list__title"><a href="<?php echo esc_url($p['url']); ?>"><?php echo esc_html($name); ?></a></<?php echo $h; ?>>
<?php if ($this->canDisplayPrice()) { $price = $oProduct->getPrice($product_id); ?>
<div class="wpsg-product-list__price">