# Kategorietext zwischen Einkaufswelt und Artikellisting

**URL:** https://forum.shopware.com/t/kategorietext-zwischen-einkaufswelt-und-artikellisting/29169
**Category:** Themes & Design
**Created:** [27. Juli 2015 um 16:03 UTC](https://forum.shopware.com/t/kategorietext-zwischen-einkaufswelt-und-artikellisting/29169 "2015-07-27T16:03:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mario\_Fehr](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mario\_Fehr](https://forum.shopware.com/u/Mario_Fehr)
#### Post date: [27. Juli 2015 um 16:03 UTC](https://forum.shopware.com/t/kategorietext-zwischen-einkaufswelt-und-artikellisting/29169/1 "2015-07-27T16:03:33Z")

</div>

Hallo, ich möchte gerne zwischen einer Einkaufswelt und dem Artikellisting den Kategorietext anzeigen lassen. Irgendjemand eine Idee, wie ich das bewerkstelligen könnte?

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [27. Juli 2015 um 17:44 UTC](https://forum.shopware.com/t/kategorietext-zwischen-einkaufswelt-und-artikellisting/29169/2 "2015-07-27T17:44:06Z")

</div>

Hallo, Die Überprüfung auf eine Einkaufswelt im Listing findest du hier: [https://github.com/shopware/shopware/bl … ex.tpl#L22](https://github.com/shopware/shopware/blob/5.0/themes/Frontend/Bare/frontend/listing/index.tpl#L22) Du müsstest das Include ohne auf-Abfrage einfach dort positionieren, wo du den Text anzeigen willst. Wenn du das If da wegnimmst, dann wird der Kategorietext immer oberhalb der Einkaufswelt angezeigt. Moritz

---

<div class="post-metadata">

### Author: ![Mario\_Fehr](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mario\_Fehr](https://forum.shopware.com/u/Mario_Fehr)
#### Post date: [28. Juli 2015 um 14:06 UTC](https://forum.shopware.com/t/kategorietext-zwischen-einkaufswelt-und-artikellisting/29169/3 "2015-07-28T14:06:47Z")

</div>

Danke Moritz, leider löst das nicht ganz mein Problem. Da ich gerne zuerst die Einkaufswelt anzeigen möchte, dann den Kategorietext und dann die Liste der Artikel. Aktuell hab ich das so eingebaut: [code]{\* Main content \*} {block name=‘frontend\_index\_content’}

{\* Banner \*} {block name=“frontend\_listing\_index\_banner”} {if !$hasEmotion} {include file=‘frontend/listing/banner.tpl’} {/if} {/block} {\* Topseller \*} {block name=“frontend\_listing\_index\_topseller”} {if !$hasEmotion && {config name=topSellerActive}} {action module=widgets controller=listing action=top\_seller sCategory=$sCategoryContent.id} {/if} {/block} {\* Category headline \*} {block name=“frontend\_listing\_index\_text”} {include file=‘frontend/listing/text.tpl’} {/block} {\* Define all necessary template variables for the listing \*} {block name=“frontend\_listing\_index\_layout\_variables”} {\* Count of available product pages \*} {$pages = ceil($sNumberArticles / $criteria-\>getLimit())} {\* Controller url for the found products counter \*} {$countCtrlUrl = “{url module=“widgets” controller=“listing” action=“listingCount” params=$ajaxCountUrlParams fullPath}”} {\* Layout for the product boxes \*} {$productBoxLayout = ‘basic’} {if $sCategoryContent.productBoxLayout !== null && $sCategoryContent.productBoxLayout !== ‘extend’} {$productBoxLayout = $sCategoryContent.productBoxLayout} {/if} {/block} {\* Listing \*} {block name=“frontend\_listing\_index\_listing”} {include file=‘frontend/listing/listing.tpl’} {/block} {\* Tagcloud \*} {block name=“frontend\_listing\_index\_tagcloud”} {if {config name=show namespace=TagCloud }} {action module=widgets controller=listing action=tag\_cloud sController=listing sCategory=$sCategoryContent.id} {/if} {/block}  
{/block}[/code]

---

<div class="post-metadata">

### Author: ![Mario\_Fehr](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mario\_Fehr](https://forum.shopware.com/u/Mario_Fehr)
#### Post date: [28. Juli 2015 um 14:53 UTC](https://forum.shopware.com/t/kategorietext-zwischen-einkaufswelt-und-artikellisting/29169/4 "2015-07-28T14:53:30Z")

</div>

Ich habe es nun selbst geschaft, hier der die Codeänderung im /listing/listing.tpl: `{block name="frontend\_listing\_list\_promotion" append} {\* Category headline \*} {block name="frontend\_listing\_index\_text"} {if $hasEmotion} {include file='frontend/listing/text.tpl'} {/if} {/block} {/block}` In der /listing/index.tpl muss nichts geändert werden
