# Kategorie-Text Template einbinden

**URL:** https://forum.shopware.com/t/kategorie-text-template-einbinden/37708
**Category:** Programmierung
**Created:** [26. Juni 2016 um 18:48 UTC](https://forum.shopware.com/t/kategorie-text-template-einbinden/37708 "2016-06-26T18:48:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bigbellybank](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@bigbellybank](https://forum.shopware.com/u/bigbellybank)
#### Post date: [26. Juni 2016 um 18:48 UTC](https://forum.shopware.com/t/kategorie-text-template-einbinden/37708/1 "2016-06-26T18:48:04Z")

</div>

Hallo Zusammen

Ich möchte gerne in der Kategorie im Kategorie-Text ein TPL-File einbauen, so dass ich in mehreren Artikel-Kategorien daselbe TPL einbauen kann.

vielen Dank für die Hilfe.

&nbsp;

Gruss

Rene

---

<div class="post-metadata">

### Author: ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)
#### Post date: [27. Juni 2016 um 06:05 UTC](https://forum.shopware.com/t/kategorie-text-template-einbinden/37708/2 "2016-06-27T06:05:14Z")

</div>

Kannst du bitte etwas genauer beschreiben was du vor hast und was du bisher diesbzgl. gemacht hast.

---

<div class="post-metadata">

### Author: ![steinsoftware](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@steinsoftware](https://forum.shopware.com/u/steinsoftware)
#### Post date: [28. Juni 2016 um 09:14 UTC](https://forum.shopware.com/t/kategorie-text-template-einbinden/37708/3 "2016-06-28T09:14:02Z")

</div>

Smarty include benutzen

---

<div class="post-metadata">

### Author: ![rehag](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rehag](https://forum.shopware.com/u/rehag)
#### Post date: [28. Juni 2016 um 15:16 UTC](https://forum.shopware.com/t/kategorie-text-template-einbinden/37708/4 "2016-06-28T15:16:24Z")

</div>

Natürlich gerne.

Hier auf der Seite:&nbsp;[http://www.bigbellybank.de/shop/](http://www.bigbellybank.de/shop/) die Tabelle oberhalb der Artikelliste, will ich gerne als Template auf verschiedenen Shopkategorien einbauen.

---

<div class="post-metadata">

### Author: ![rehag](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rehag](https://forum.shopware.com/u/rehag)
#### Post date: [28. Juni 2016 um 15:16 UTC](https://forum.shopware.com/t/kategorie-text-template-einbinden/37708/5 "2016-06-28T15:16:59Z")

</div>

Übrigens ich habe Shopware 4.3.6, scheint im falschen Forum zu sein.

---

<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: [28. Juni 2016 um 16:23 UTC](https://forum.shopware.com/t/kategorie-text-template-einbinden/37708/6 "2016-06-28T16:23:53Z")

</div>

Hallo,

du kannst doch einfach eine Datei per include in das Listing einbinden. Danach kannst du noch eine If-Abfrage drum herum machen um bspw. auf ein Kategorie-Attribut zu prüfen. Und schon kannst du das an/aus schalten. So ähnlich wie ich das hier in meinem Bastel-Plugin gemacht hab:&nbsp;[MNDisableThemeSections/listing.tpl at master · mnaczenski/MNDisableThemeSections · GitHub](https://github.com/mnaczenski/MNDisableThemeSections/blob/master/Views/frontend/listing/listing.tpl)

Moritz
