# \[gelöst\] Plugin Individuelle Kategorien 2 Freitextfelder

**URL:** <https://forum.shopware.com/t/gelost-plugin-individuelle-kategorien-2-freitextfelder/12594>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [9. April 2013 um 16:18 UTC](https://forum.shopware.com/t/gelost-plugin-individuelle-kategorien-2-freitextfelder/12594 "2013-04-09T16:18:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ErikBrinx](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@ErikBrinx](https://forum.shopware.com/u/ErikBrinx)\
**Post date:** [9. April 2013 um 16:18 UTC](https://forum.shopware.com/t/gelost-plugin-individuelle-kategorien-2-freitextfelder/12594/1 "2013-04-09T16:18:14Z")

</div>

Hallo, ich möchte mit dem Plugin 2 Freitextfelder filtern, z.B. attr8 und attr9 in denen jeweils ein anderer Wert enthalten ist. Beispiel: zeige alle Artikel in denen das attr8 = 8 und das attr9 = 2 ist. `SwagCustomCategories?filterMode=attr8&content=8` zeigt mir ja nur Freitextfeld 8 mit Inhalt 8 an. Gibt es eine Möglichkeit nach 2 Attributsfeldern zu filtern? Grüße Erik!

---

<div class="post-metadata">

**Author:** ![ErikBrinx](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@ErikBrinx](https://forum.shopware.com/u/ErikBrinx)\
**Post date:** [11. April 2013 um 21:47 UTC](https://forum.shopware.com/t/gelost-plugin-individuelle-kategorien-2-freitextfelder/12594/2 "2013-04-11T21:47:27Z")

</div>

Wollte diese Thema nochmal hochholen. Arbeitet jemand mit diesem Plugin und kann mir einen Tipp geben? Grüße Erik!

---

<div class="post-metadata">

**Author:** ![Stefan\_Hamann](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Stefan\_Hamann](https://forum.shopware.com/u/Stefan_Hamann)\
**Post date:** [12. April 2013 um 07:32 UTC](https://forum.shopware.com/t/gelost-plugin-individuelle-kategorien-2-freitextfelder/12594/3 "2013-04-12T07:32:34Z")

</div>

Hallo, im Standard kann das Plugin das nicht - ich habe dir aber mal eine Modifikation geschrieben - kannst du dir unter [https://gist.github.com/sthamann/5369647](https://gist.github.com/sthamann/5369647) herunterladen. Einfach die bestehende Datei SwagCustomCategories im Plugin-Verzeichnis damit ersetzen. Danach kannst du beliebig viele Bedingungen definieren, Format wie folgt: [deinshop.de/SwagCustomCategories?filterMode=attr1|attr2&content=9|12](http://deinshop.de/SwagCustomCategories?filterMode=attr1%7Cattr2&content=9%7C12)

---

<div class="post-metadata">

**Author:** ![ErikBrinx](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@ErikBrinx](https://forum.shopware.com/u/ErikBrinx)\
**Post date:** [12. April 2013 um 09:05 UTC](https://forum.shopware.com/t/gelost-plugin-individuelle-kategorien-2-freitextfelder/12594/4 "2013-04-12T09:05:27Z")

</div>

Hallo Stefan, funktioniert super, danke. Grüße Erik!
