diff options
Diffstat (limited to 'views/blocks')
| -rw-r--r-- | views/blocks/product-list.phtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/blocks/product-list.phtml b/views/blocks/product-list.phtml index be33534..feb186f 100644 --- a/views/blocks/product-list.phtml +++ b/views/blocks/product-list.phtml @@ -36,6 +36,8 @@ <?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 /* Sterne nur mit dem Modul Produktbewertungen, aus freigegebenen Bewertungen */ if ($this->hasMod('wpsg_mod_reviews')) echo $this->callMod('wpsg_mod_reviews', 'renderSummary', [$product_id, 'wpsg-product-list__rating']); ?> + <?php if ($this->canDisplayPrice()) { $price = $oProduct->getPrice($product_id); ?> <div class="wpsg-product-list__price"> <?php if ($this->hasMod('wpsg_mod_productvariants') && $this->callMod('wpsg_mod_productvariants', 'isVariantsProduct', [$product_id])) { ?> |
