Actions
GX-Bug #58914
closedLeerer Bewertungscontainer in Kacheln wird auch dann angezeigt wenn Bewertungen deaktiviert sind
% Done:
100%
Estimated time:
Steps to reproduce:
Betroffene Versionen:
3.10.0.1
Release Notes Langtext:
Leerer Bewertungscontainer in Kacheln wird nicht mehr angezeigt wenn Bewertungen deaktiviert sind
Description
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}
Related issues
Updated by Torben Wark almost 8 years ago
- Copied from GX-Bug #58909: Leerer Bewertungscontainer in Kacheln wird auch dann angezeigt wenn Bewertungen deaktiviert sind added
Updated by Moritz Bunjes almost 8 years ago
- Assignee changed from Core-Entwickler to Moritz Bunjes
Updated by Moritz Bunjes almost 8 years ago
- Status changed from Testing to Erledigt
- % Done changed from 0 to 100
Actions