GX-Bug #58909
Von Wilken Haase vor mehr als 6 Jahren aktualisiert
Der Div Container sollte verschwinden wenn Bewertungen aus sind, die Hierarchie der Verschachtlung stimmt aber nicht, die if condition ist eine Ebene zu tief.
/templates/Honeygrid/snippets/product_listing/product_grid_only.html
statt
~~~
{block name="snippets_product_listing_product_grid_only_description_rating"}
<div class="rating-container hidden-list">
{if $showRating}
<span{if $p_meta} title="{$p_meta}"{/if}>
{if $OVERALL_RATING.rounded && $OVERALL_RATING.rounded != ""}
{include file="get_usermod:{$tpl_path}snippets/rating_stars.html" rating_rounded=$OVERALL_RATING.rounded rating_count=$OVERALL_RATING.count }
{/if}
</span>
{/if}
</div>
{/block}
~~~
muss es sein:
~~~
{block name="snippets_product_listing_product_grid_only_description_rating"}
{if $showRating}
<div class="rating-container hidden-list">
<span{if $p_meta} title="{$p_meta}"{/if}>
{if $OVERALL_RATING.rounded && $OVERALL_RATING.rounded != ""}
{include file="get_usermod:{$tpl_path}snippets/rating_stars.html" rating_rounded=$OVERALL_RATING.rounded rating_count=$OVERALL_RATING.count }
{/if}
</span>
</div>
{/if}
{/block}
~~~