# GELÖST - Template Fehler &quot;Ähnliche Artikel&quot;

**URL:** <https://forum.shopware.com/t/gelost-template-fehler-quot-ahnliche-artikel-quot/12753>\
**Category:** Shopware 3.5\
**Tags:** templates--design\
**Created:** [17. April 2013 um 13:46 UTC](https://forum.shopware.com/t/gelost-template-fehler-quot-ahnliche-artikel-quot/12753 "2013-04-17T13:46:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [17. April 2013 um 13:46 UTC](https://forum.shopware.com/t/gelost-template-fehler-quot-ahnliche-artikel-quot/12753/1 "2013-04-17T13:46:18Z")

</div>

Hallo liebe Leute, ich hab ein Problem mit dem Template - komischerweise taucht der Fehler nur bei einem Artikel auf ?!?! Und zwar ist das Template etwas verschoben - siehe Bild. Ich verstehs einfach nicht weils bei anderen Artikeln in Ordnung ist?! Jemand eine Idee?

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [17. April 2013 um 13:49 UTC](https://forum.shopware.com/t/gelost-template-fehler-quot-ahnliche-artikel-quot/12753/2 "2013-04-17T13:49:41Z")

</div>

Ist Shopware 3.5.6 Hier ein Auszug aus der Similar.tpl [code]

{if $sArticle.sSimilarArticles}

### {s name=‚DetailSimilarHeader‘}{/s}

{foreach name=line from=$sArticle.sSimilarArticles item=sSimilarArticle key=key name=„counter“} {include file=„frontend/listing/box\_similar.tpl“ sArticle=$sSimilarArticle} {/foreach} {/if}

[/code] Und aus der box\_similar.tpl [code]{block name=„frontend\_listing\_box\_similar“}

{\* Article picture \*} {block name=‚frontend\_listing\_box\_similar\_article\_picture‘} &nbsp; {/block}  
{\* Article name \*} {block name=‚frontend\_listing\_box\_similar\_name‘} **{$sArticle.articleName|truncate:47}** {/block} {\* Unit price \*} {block name=‚frontend\_listing\_similar\_article\_unit‘} {if $sArticle.purchaseunit}

**{se name=„ListingBoxArticleContent“ namespace=„frontend/listing/box\_article“}{/se}:** {$sArticle.purchaseunit} {$sArticle.sUnit.description}

{if $sArticle.purchaseunit != $sArticle.referenceunit}

{if $sArticle.referenceunit} **{se name=„ListingBoxBaseprice“ namespace=„frontend/listing/box\_article“}{/se}:** {$sArticle.referenceunit} {$sArticle.sUnit.unit} = {$sArticle.referenceprice|currency} {s name=„Star“ namespace=„frontend/listing/box\_article“}{/s} {/if}

{/if}  
{/if} {/block} {\* Price \*} {block name=‚frontend\_listing\_box\_similar\_price‘}

{if $sArticle.pseudoprice} {s name=„reducedPrice“ namespace=„frontend/listing/box\_article“}{/s} {$sArticle.pseudoprice|currency} {s name=„Star“ namespace=„frontend/listing/box\_article“}{/s} {/if} {$sArticle.price|currency} \*

{/block}  
{\* Compare and more \*} {block name=‚frontend\_listing\_box\_similar\_actions‘}  
{se name=‚SimilarBoxLinkDetails‘}{/se}  
{/block}

{/block}[/code]

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [17. April 2013 um 14:15 UTC](https://forum.shopware.com/t/gelost-template-fehler-quot-ahnliche-artikel-quot/12753/3 "2013-04-17T14:15:26Z")

</div>

Fehler gefunden - war eigentlich logisch das es nicht am Template liegen konnte da es bei anderen Artikeln ja funktionierte. Fehler lag in der css spaltenbreite - mehr als 3 Artikel war von der breite nicht drin also wurde der 4 Artikel nach unten geschoben und überdeckte somit die andere Box. Boxbreite vergrößert und zack gehts. Trotzdem danke =)
