# Variable - "product Description" in Text anstatt HTML

**URL:** <https://forum.shopware.com/t/variable-product-description-in-text-anstatt-html/93144>\
**Category:** Shopware 6 (German)\
**Created:** [25. Februar 2022 um 12:32 UTC](https://forum.shopware.com/t/variable-product-description-in-text-anstatt-html/93144 "2022-02-25T12:32:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PromoID](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/promoid/32/14015_2.png) [@PromoID](https://forum.shopware.com/u/PromoID)\
**Post date:** [25. Februar 2022 um 12:32 UTC](https://forum.shopware.com/t/variable-product-description-in-text-anstatt-html/93144/1 "2022-02-25T12:32:02Z")

</div>

Hi,

ich experimentiere im Moment mit den Verkaufskanälen herum um diverse XML Dateien etc. anzulegen.  
Mit dem Code `<description>{{ product.translated.description|escape }}</description>`wird der Inhalt als HTML übernommen (mit `<div>` etc.).

Gibt es hier eine Möglichkeit diesen als reinen Text zu bekommen?

Nachtrag: Niemand eine Idee? 🙂

---

<div class="post-metadata">

**Author:** ![klogges](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@klogges](https://forum.shopware.com/u/klogges)\
**Post date:** [20. Februar 2025 um 15:24 UTC](https://forum.shopware.com/t/variable-product-description-in-text-anstatt-html/93144/2 "2025-02-20T15:24:15Z")

</div>

Auch wenn das Thema alt ist:  
Der Twig Filter Striptags sollte hier helfen:

> **[striptags - Filters - Documentation - Twig PHP](https://twig.symfony.com/doc/3.x/filters/striptags.html)**
>
> Twig - The flexible, fast, and secure template engine for PHP

---

<div class="post-metadata">

**Author:** ![PromoID](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/promoid/32/14015_2.png) [@PromoID](https://forum.shopware.com/u/PromoID)\
**Post date:** [20. Februar 2025 um 16:13 UTC](https://forum.shopware.com/t/variable-product-description-in-text-anstatt-html/93144/3 "2025-02-20T16:13:25Z")

</div>

Danke dir trotzdem 🙂  
Inzwischen läuft alles 😃

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [22. März 2025 um 16:13 UTC](https://forum.shopware.com/t/variable-product-description-in-text-anstatt-html/93144/4 "2025-03-22T16:13:59Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
