# Custom field Typ definieren

**URL:** <https://forum.shopware.com/t/custom-field-typ-definieren/86795>\
**Category:** Shopware 6 (German)\
**Created:** [12. April 2021 um 12:28 UTC](https://forum.shopware.com/t/custom-field-typ-definieren/86795 "2021-04-12T12:28:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrihuder](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@andrihuder](https://forum.shopware.com/u/andrihuder)\
**Post date:** [12. April 2021 um 12:28 UTC](https://forum.shopware.com/t/custom-field-typ-definieren/86795/1 "2021-04-12T12:28:28Z")

</div>

Guten Tag.

Wir haben diverse custom fields. Bilder, Text und PDFs.  
Funktioniert alles super bis auf den Text. Dieser wird nicht als HTML ausgegeben.  
Die breaks funktionieren nicht.  
Kann man das irgendwie definieren?

Output erfolgt momentan so:  
{{ page.product.translated.customFields.custom\_ghs\_texte }}

Beste Grüsse

---

<div class="post-metadata">

**Author:** ![Laudenz](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@Laudenz](https://forum.shopware.com/u/Laudenz)\
**Post date:** [12. April 2021 um 12:40 UTC](https://forum.shopware.com/t/custom-field-typ-definieren/86795/2 "2021-04-12T12:40:48Z")

</div>

Hallo andrihuder,  
versuche es mal mit {{ page.product.translated.customFields.custom\_ghs\_texte|raw }}

Gruß

---

<div class="post-metadata">

**Author:** ![andrihuder](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@andrihuder](https://forum.shopware.com/u/andrihuder)\
**Post date:** [12. April 2021 um 12:44 UTC](https://forum.shopware.com/t/custom-field-typ-definieren/86795/3 "2021-04-12T12:44:11Z")

</div>

Nice! Ist das „raw“ in der doku zu finden? Habe nichts gefunden :-/

---

<div class="post-metadata">

**Author:** ![Laudenz](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@Laudenz](https://forum.shopware.com/u/Laudenz)\
**Post date:** [13. April 2021 um 12:20 UTC](https://forum.shopware.com/t/custom-field-typ-definieren/86795/4 "2021-04-13T12:20:05Z")

</div>

In der Shopware Doku habe ich auch nichts dazu entdeckt. Die Lösung habe ich in Bezug auf Symfony gefunden.
