# purchasePrice im Feed/Produktvergleich

**URL:** <https://forum.shopware.com/t/purchaseprice-im-feed-produktvergleich/101710>\
**Category:** Shopware 6 (German)\
**Created:** [26. Oktober 2023 um 17:11 UTC](https://forum.shopware.com/t/purchaseprice-im-feed-produktvergleich/101710 "2023-10-26T17:11:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KOMMA-D](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@KOMMA-D](https://forum.shopware.com/u/KOMMA-D)\
**Post date:** [26. Oktober 2023 um 17:11 UTC](https://forum.shopware.com/t/purchaseprice-im-feed-produktvergleich/101710/1 "2023-10-26T17:11:27Z")

</div>

Hallo, wie kommt man denn im Feed/Produktvergleich auf den purchasePrice ? Mit product.purchasePrices oder [product.purchasePrices.net](http://product.purchasePrices.net) klappt es nicht. Hat jemand einen Tip?

---

<div class="post-metadata">

**Author:** ![nexusliquidsforum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/nexusliquidsforum/32/15251_2.png) [@nexusliquidsforum](https://forum.shopware.com/u/nexusliquidsforum)\
**Post date:** [28. November 2023 um 14:33 UTC](https://forum.shopware.com/t/purchaseprice-im-feed-produktvergleich/101710/2 "2023-11-28T14:33:25Z")

</div>

Hat hier jemand einen Tipp?  
Wir bekommen mit:

```auto
   <g:cost_of_goods_sold>
    	    {%- if product.purchasePrices is not empty -%}
    	{{ product.purchasePrices|number_format(context.currency.decimalPrecision, '.', '') }} {{ context.currency.isoCode }}
    	{%- endif -%}
    	</g:cost_of_goods_sold>

```

Leider überall 1.00 € als EK ausgespielt.  
Danke

---

<div class="post-metadata">

**Author:** ![oleohlen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/oleohlen/32/10046_2.png) [@oleohlen](https://forum.shopware.com/u/oleohlen)\
**Post date:** [27. Juni 2024 um 07:29 UTC](https://forum.shopware.com/t/purchaseprice-im-feed-produktvergleich/101710/3 "2024-06-27T07:29:31Z")

</div>

Hattest du hierzu eine Lösung gefunden? Könntest du die Zeilen aus deinem Feed teilen?

---

<div class="post-metadata">

**Author:** ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)\
**Post date:** [27. Juni 2024 um 17:57 UTC](https://forum.shopware.com/t/purchaseprice-im-feed-produktvergleich/101710/4 "2024-06-27T17:57:36Z")

</div>

Was spricht gegen

```auto
product.calculatedPrice.unitPrice

```

?
