# Suchergebnisse 3-spaltig darstellen

**URL:** <https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564>\
**Category:** Shopware 3.5\
**Tags:** templates--design\
**Created:** [5. November 2010 um 10:36 UTC](https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564 "2010-11-05T10:36:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Porter](https://avatars.discourse-cdn.com/v4/letter/p/c5a1d2/32.png) [@Porter](https://forum.shopware.com/u/Porter)\
**Post date:** [5. November 2010 um 10:36 UTC](https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564/1 "2010-11-05T10:36:56Z")

</div>

Hallo zusammen, ich möchte gerne die Suchergebnisse im Shop anstatt, wie von Haus aus, 4-spaltig gerne dreispaltig darstellen lassen. Kann man das, wie bei den Kategorien, über das Backend einstellen oder muss man dazu ins Template (wenn ja, wo?).

---

<div class="post-metadata">

**Author:** ![Stephan\_Pohl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/stephan_pohl/32/10212_2.png) [@Stephan\_Pohl](https://forum.shopware.com/u/Stephan_Pohl)\
**Post date:** [5. November 2010 um 13:51 UTC](https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564/2 "2010-11-05T13:51:59Z")

</div>

Hey Porter, klar, das geht. Du musst dafür aber das Template anpassen. Hierzu erbst du in deinen Template von der Templatedatei „search/index.tpl“ und überschreibst den Block „frontend\_search\_index\_result“ mit folgenden: [code] {block name=‚frontend\_search\_index\_result‘}

{foreach from=$sSearchResults item=sArticle key=key name=list} {include file=„frontend/listing/box\_article.tpl“} {/foreach}  
{if $sSearchResults|@count && $sPages|@count}  
&nbsp;  
{include file=‚frontend/search/paging.tpl‘ sPages=$sPages} {/if} {/block} [/code] Deine Templatedatei sollte nun wie folgt aussehen: ` {extends file="../\_default/frontend/search/index.tpl"} {block name='frontend\_search\_index\_result'}
 {foreach from=$sSearchResults item=sArticle key=key name=list} {include file="frontend/listing/box\_article.tpl"} {/foreach}
{if $sSearchResults|@count && $sPages|@count} 
&nbsp;
 {include file='frontend/search/paging.tpl' sPages=$sPages} {/if} {/block} ` Ausschlaggend für die Spaltigkeit ist die ID, welche das „div“-Element hat. Folgende Listings stehen hier zur Verfügung: [list] [\*] listing - 4 spaltig[/\*] [\*] listing-3col - 3 spaltig[/\*] [\*] listing-2col - 2 spaltig[/\*] [\*] listing-1col - 1 spaltig[/\*][/list] Grüße Stephan

---

<div class="post-metadata">

**Author:** ![Porter](https://avatars.discourse-cdn.com/v4/letter/p/c5a1d2/32.png) [@Porter](https://forum.shopware.com/u/Porter)\
**Post date:** [5. November 2010 um 15:11 UTC](https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564/3 "2010-11-05T15:11:14Z")

</div>

Hallo Stephan, perfekt! Vielen Dank, hat super geklappt! :thumbup:

---

<div class="post-metadata">

**Author:** ![Bibeno](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@Bibeno](https://forum.shopware.com/u/Bibeno)\
**Post date:** [4. August 2011 um 06:50 UTC](https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564/4 "2011-08-04T06:50:12Z")

</div>

Ich hab das mal soeben bei mir versucht und es wird bei mir weiterhin 4 Spaltig angezeigt.

---

<div class="post-metadata">

**Author:** ![Bibeno](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@Bibeno](https://forum.shopware.com/u/Bibeno)\
**Post date:** [4. August 2011 um 06:53 UTC](https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564/5 "2011-08-04T06:53:42Z")

</div>

Ok habs gefunden musste es in der fuzzy.tpl anpassen.

---

<div class="post-metadata">

**Author:** ![taaucher](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@taaucher](https://forum.shopware.com/u/taaucher)\
**Post date:** [4. August 2011 um 07:57 UTC](https://forum.shopware.com/t/suchergebnisse-3-spaltig-darstellen/564/6 "2011-08-04T07:57:59Z")

</div>

Hallo Bianca, ich hatte dafür mal ein Plugin geschrieben, das gibt es kostenlos im Store. MfG Frank
