# Shopware Datenfeed Export für Google Shopping funktionier nicht

**URL:** <https://forum.shopware.com/t/shopware-datenfeed-export-fur-google-shopping-funktionier-nicht/68844>\
**Category:** Programmierung\
**Tags:** customelements, shopping-worlds, datepicker, widgets\
**Created:** [7. August 2020 um 11:34 UTC](https://forum.shopware.com/t/shopware-datenfeed-export-fur-google-shopping-funktionier-nicht/68844 "2020-08-07T11:34:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabian\_Falkner](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@Fabian\_Falkner](https://forum.shopware.com/u/Fabian_Falkner)\
**Post date:** [7. August 2020 um 11:34 UTC](https://forum.shopware.com/t/shopware-datenfeed-export-fur-google-shopping-funktionier-nicht/68844/1 "2020-08-07T11:34:59Z")

</div>

Guten Tag,

&nbsp;

seit nun mehreren Wochen verscuche ich in unserem Shopware System unsere Produkte via eines Plugins “Google Shopping Export Professionell” im Google Merchant Center per XML Automatisch abrufen zu lassen. Leider wird hier bei der folgenden Einstellung durch das Plugin:

Kopfzeile:

```
    {$sConfig.sSHOPNAME}
    Beschreibung im Header hinterlegen
    http://{$sConfig.sBASEPATH}
    DE
    
        http://{$sConfig.sBASEPATH}/templates/_default/frontend/_resources/images/logo.jpg
        {$sConfig.sSHOPNAME}
        http://{$sConfig.sBASEPATH}

```

&nbsp;

Template:  
&nbsp;

```
{assign var=cbaxGoogleAttributes value=$sArticle|cbaxGetGoogleAttributes:$sSettings}

    {$sArticle.ordernumber|escape}
    {$sArticle.articleID|escape}
    
    
    
     "|escape}]]>
    {$sArticle.articleID|link:$sArticle.name|escape}{if $sArticle.additionaltext}{$cbaxGoogleAttributes.urlDelimiter}number={$sArticle.ordernumber}{/if}
    {$sArticle.image|image:1}
    {if $sArticle.esd}in stock{elseif $sArticle.instock>0}in stock{elseif $sArticle.releasedate && $sArticle.releasedate|strtotime > $smarty.now}preorder{elseif $sArticle.shippingtime}in stock{else}out of stock{/if}
{if $sArticle.pseudoprice > 0}
        {$sArticle.pseudoprice|format:"number"}
        {$sArticle.price|format:"number"}
    {if $cbaxGoogleAttributes.sale_price_effective_date_start && $cbaxGoogleAttributes.sale_price_effective_date_end}
        {$cbaxGoogleAttributes.sale_price_effective_date_start|date_format:"%Y-%m-%dT%H:%M+0100"}/{$cbaxGoogleAttributes.sale_price_effective_date_end|date_format:"%Y-%m-%dT%H:%M+0100"}
        {/if}{else}
    {$sArticle.price|format:"number"}
    {/if}{if $sArticle.referenceunit && $sArticle.purchaseunit}
    {$sArticle.referenceunit} {$sArticle.unit}
    {$sArticle.purchaseunit} {$sArticle.unit}
    {/if}{$sArticle.supplier|escape}
    {$sArticle.ean}
    {$sArticle.suppliernumber|escape}
    {if $cbaxGoogleAttributes.condition}{$cbaxGoogleAttributes.condition}{else}new{/if}
    {if $cbaxGoogleAttributes.age_group}{$cbaxGoogleAttributes.age_group}
    {/if}{if $cbaxGoogleAttributes.gender}{$cbaxGoogleAttributes.gender}
    {/if}{if $cbaxGoogleAttributes.adult}{$cbaxGoogleAttributes.adult}
    {/if}{if $cbaxGoogleAttributes.size_system}{$cbaxGoogleAttributes.size_system}
    {/if}{if $cbaxGoogleAttributes.size_type}{$cbaxGoogleAttributes.size_type}
    {/if}{if $cbaxGoogleAttributes.size}
    {/if}{if $cbaxGoogleAttributes.material}
    {/if}{if $cbaxGoogleAttributes.color}
    {/if}{if $cbaxGoogleAttributes.pattern}
    {/if}{if $cbaxGoogleAttributes.energy_efficiency_class}{$cbaxGoogleAttributes.energy_efficiency_class}
    {/if}{if $cbaxGoogleAttributes.identifier_exists}{$cbaxGoogleAttributes.identifier_exists}
    {/if}{if $cbaxGoogleAttributes.excluded_destination}{$cbaxGoogleAttributes.excluded_destination}
    {/if}{if $cbaxGoogleAttributes.is_bundle}{$cbaxGoogleAttributes.is_bundle}
    {/if}{if $cbaxGoogleAttributes.multipack}{$cbaxGoogleAttributes.multipack}
    {/if}{if $cbaxGoogleAttributes.expiration_date}{$cbaxGoogleAttributes.expiration_date|date_format:"%Y-%m-%dT%H:%M:%S"}
    {/if}{if $cbaxGoogleAttributes.adwords_redirect}
    {/if}{if $cbaxGoogleAttributes.promotion}{$cbaxGoogleAttributes.promotion}
    {/if}{if $cbaxGoogleAttributes.custom_label0}
    {/if}{if $cbaxGoogleAttributes.custom_label1}
    {/if}{if $cbaxGoogleAttributes.custom_label2}
    {/if}{if $cbaxGoogleAttributes.custom_label3}
    {/if}{if $cbaxGoogleAttributes.custom_label4}
    {/if}
        DE
        Standard
        {$sArticle|@shippingcost:"prepayment":"de"|escape:"number"|replace:",":"."}
    
    {if $sArticle.changed}{$sArticle.changed|date_format:"%a, %d %b %Y %T %Z"}{/if}

```

&nbsp;

Nur das hier ausgespuckt:

&nbsp;

XML-Verarbeitungsfehler: Nicht definierte Entität  
Adresse: [FSA-Valve](https://fsa-valve.com/backend/export/index/cbax_google.xml?feedID=21&hash=123456789)  
Zeile Nr. 49, Spalte 26:

&nbsp;

-------------------------^

&nbsp;

Wir arbeiten mit der Shopware Version 5.6.7

Unser Hoster ist Profihost PHP 7.4

Um die Google Shopping Anzeigen zu schalten benutzen wir zur erstellung des Datenfeeds das Plugin wie oben schon gennant Google Shopping Export Professionell von Coolbax

Der Fehler der im Merchant Center angezeigt wird lautet wie folgt:

&nbsp;

[![Google Merchant Center Fehlermeldung](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/23991fa06a42a9b3805dd35fe64091099ac4ab90.png)](https://fsa-valve.com/media/image/30/c7/f6/g.png)

&nbsp;
