# Verkaufskanäle - Streichpreis exportieren

**URL:** <https://forum.shopware.com/t/verkaufskanaele-streichpreis-exportieren/92327>\
**Category:** Shopware 6 (German)\
**Created:** [12. Januar 2022 um 08:40 UTC](https://forum.shopware.com/t/verkaufskanaele-streichpreis-exportieren/92327 "2022-01-12T08:40:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![l.brue](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@l.brue](https://forum.shopware.com/u/l.brue)\
**Post date:** [15. Februar 2023 um 09:05 UTC](https://forum.shopware.com/t/verkaufskanaele-streichpreis-exportieren/92327/5 "2023-02-15T09:05:30Z")

</div>

Hallo AkustivProjekt,  
es ist zwar schon eine Weile her, aber ich stand vor dem gleichen Problem.

Meine Lösung für csv-Dateien:

```auto
"{% if product.calculatedPrice.listPrice.price is defined and product.calculatedPrice.listPrice.price > product.calculatedPrice.unitPrice %}{{product.calculatedPrice.listPrice.price|number_format(context.currency.itemRounding.decimals, '.', '')}} {{ context.currency.isoCode }}{%- endif -%}",{#- Standardpreis -#}

"{% if product.calculatedPrice.listPrice.price is defined and product.calculatedPrice.listPrice.price > product.calculatedPrice.unitPrice %}
{{ product.calculatedPrice.unitPrice|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}
{%- endif -%}",{#- Salepreis -#}

```

@kyote hat eine Lösung für XML-Dateien: [https://forum.shopware.com/t/streichpreis-im-google-shopping-feed/94905](https://forum.shopware.com/t/streichpreis-im-google-shopping-feed/94905)

---

_[View the full topic](https://forum.shopware.com/t/verkaufskanaele-streichpreis-exportieren/92327)._
