# Wie lautet im Datenexport von Shopware 6 die Variable für den Originalpreis?

**URL:** <https://forum.shopware.com/t/wie-lautet-im-datenexport-von-shopware-6-die-variable-fur-den-originalpreis/72170>\
**Category:** Allgemein\
**Created:** [18. Januar 2021 um 11:48 UTC](https://forum.shopware.com/t/wie-lautet-im-datenexport-von-shopware-6-die-variable-fur-den-originalpreis/72170 "2021-01-18T11:48:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![UhrenZietz](https://avatars.discourse-cdn.com/v4/letter/u/3ec8ea/32.png) [@UhrenZietz](https://forum.shopware.com/u/UhrenZietz)\
**Post date:** [18. Januar 2021 um 11:48 UTC](https://forum.shopware.com/t/wie-lautet-im-datenexport-von-shopware-6-die-variable-fur-den-originalpreis/72170/1 "2021-01-18T11:48:10Z")

</div>

Guten Tag!

Wie lautet bei Shopware 6 im Datenexport die Variable für den Originalpreis?

Originalpreis: 115 Euro (Variable ???)

Streichpreis: 110 Euro&nbsp; (Variable price\_net)

Danke für eure Hilfe!

MfG. JM

---

<div class="post-metadata">

**Author:** ![G-K](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@G-K](https://forum.shopware.com/u/G-K)\
**Post date:** [29. September 2022 um 10:42 UTC](https://forum.shopware.com/t/wie-lautet-im-datenexport-von-shopware-6-die-variable-fur-den-originalpreis/72170/2 "2022-09-29T10:42:02Z")

</div>

hier gefunden:  
[https://lenz-ebusiness.de/shopware-6-plugins/google-shopping-pro-sw6/google-shopping-produktkatalog-sw6-template/](https://lenz-ebusiness.de/shopware-6-plugins/google-shopping-pro-sw6/google-shopping-produktkatalog-sw6-template/)

```auto
{% if product.calculatedPrices.first and product.calculatedPrices.first.listPrice and product.calculatedPrices.first.listPrice.price > product.calculatedPrices.first.unitPrice %}
		{# Rule based pricing - Discounted price #}
		<g:price>{{ product.calculatedPrices.first.listPrice.price|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}</g:price>
		<g:sale_price>{{ product.calculatedPrices.first.unitPrice|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}</g:sale_price>
	{% elseif product.calculatedPrices.first is defined and product.calculatedPrices.first.listPrice is defined and product.calculatedPrices.first.listPrice != null %}
		{# Rule based pricing - list price #}
		<g:price>{{ product.calculatedPrices.first.listPrice.price|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}</g:price>
	{% elseif product.calculatedPrices.first is defined and product.calculatedPrices.first.unitPrice is defined %}
		{# Rule based pricing - unit price #}
		<g:price>{{ product.calculatedPrices.first.unitPrice|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}</g:price>
	{% elseif product.calculatedPrice.listPrice and product.calculatedPrice.listPrice.price > product.calculatedPrice.unitPrice %}
		<g:price>{{ product.calculatedPrice.listPrice.price|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}</g:price>
		<g:sale_price>{{ product.calculatedPrice.unitPrice|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}</g:sale_price>
	{% else %}
		{# Default price #}
		<g:price>{{ product.calculatedPrice.unitPrice|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}</g:price>
	{% endif %}

```
