Skip to content

Commit

Permalink
SW-25301 - fix related slider block
Browse files Browse the repository at this point in the history
  • Loading branch information
uehler authored and Patrick Stahl committed Mar 16, 2020
1 parent b234a57 commit 18ab789
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions themes/Frontend/Bare/frontend/detail/tabs/related.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

{if $sArticle.sRelatedArticles && !$sArticle.crossbundlelook}
{* Related products - Content *}
{block name="frontend_detail_index_similar_slider_content"}
<div class="related--content">
{include file="frontend/_includes/product_slider.tpl" articles=$sArticle.sRelatedArticles sliderInitOnEvent="onShowContent-related"}
</div>
{block name="frontend_detail_index_related_slider_content"}
{* @deprecated block frontend_detail_index_similar_slider_content will be removed in 5.7 *}
{block name="frontend_detail_index_similar_slider_content"}
<div class="related--content">
{include file="frontend/_includes/product_slider.tpl" articles=$sArticle.sRelatedArticles sliderInitOnEvent="onShowContent-related"}
</div>
{/block}
{/block}
{/if}
{/if}

0 comments on commit 18ab789

Please sign in to comment.