# Google Shopping Feed Preise nicht korrekt

**URL:** <https://forum.shopware.com/t/google-shopping-feed-preise-nicht-korrekt/92867>\
**Category:** Programmierung\
**Tags:** general, administration, programming\
**Created:** [9. Februar 2022 um 20:20 UTC](https://forum.shopware.com/t/google-shopping-feed-preise-nicht-korrekt/92867 "2022-02-09T20:20:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![namocf](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@namocf](https://forum.shopware.com/u/namocf)\
**Post date:** [9. Februar 2022 um 20:20 UTC](https://forum.shopware.com/t/google-shopping-feed-preise-nicht-korrekt/92867/1 "2022-02-09T20:20:08Z")

</div>

Hallöle,

bei mir werden Artikeln mit Varianten im feed Falsch bezogen.

Die Preise stimmen mit den link im Feed nicht überein. Er nimmt die Preise von einer anderen Variante.

Kurzer Einblick von meinen Preis Code für die Produktzeile :

```auto
   <g:availability>
        {%- if product.availableStock >= product.minPurchase and product.deliveryTime -%}
            in_stock
        {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%}
            preorder
        {%- else -%}
            out_of_stock
        {%- endif -%}
    </g:availability>
    {% set price = product.calculatedPrice %}
    {% if product.calculatedPrices.count > 0 %}
        {% set price = product.calculatedPrices.last %}
    {% endif %}
 
 
    <g:price>{{ price.unitPrice|number_format(context.currency.itemRounding.decimals, '.', '') }} {{ context.currency.isoCode }}</g:price>
    <g:brand>{{ product.manufacturer.translated.name|escape }}</g:brand>
    <g:gtin>{{ product.ean }}</g:gtin>

```

---

<div class="post-metadata">

**Author:** ![namocf](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@namocf](https://forum.shopware.com/u/namocf)\
**Post date:** [10. Februar 2022 um 11:28 UTC](https://forum.shopware.com/t/google-shopping-feed-preise-nicht-korrekt/92867/2 "2022-02-10T11:28:31Z")

</div>

kann mir keiner helfen?
