Fix Google Shopping Feed Issue in Shopware

A wrong set up in the Shopware can give you a lot of trouble with google shopping feed. There could be a lot of errors that you might see in the merchant center depending on where you have messed up. Here is a quick guide on fixing the google shopping feed.

Default Google shopping Feed configuration in ShopWare

Follow the steps below to fix the Feed issue:

  • Log in to Shopware backend
  • Select Marketing
  • Click on Item Export
  • Click on the Edit icon (pencil icon)
  • Go to the header and paste the following code:
 
{strip}
id{#S#}
title{#S#}
description{#S#}
price{#S#}
condition{#S#}
link{#S#}
availability{#S#}
image_link{#S#}
google_product_category{#S#}
product_type{#S#}
brand{#S#}
gtin{#S#}
identifier_exists{#S#}
shipping
{/strip}{#L#}
Google product feed header in Shopware

Google product feed header in Shopware

  • Now click on the body, next to the header
  • Put in the following code in the body 
{strip}
{$sArticle.ordernumber|escape}{#S#}
{$sArticle.name|strip_tags|strip|truncate:80:"...":true|escape|htmlentities}{#S#}
{$sArticle.description_long|strip_tags|html_entity_decode|trim|regex_replace:"
#[^\wöäüÖÄÜß\.%&-+ ]#i":""|strip|truncate:500:"...":true|htmlentities|escape}{#S#}
{$sArticle.price|escape:"number"|replace:',':'.'} EUR{#S#}
New{#S#}
{$sArticle.articleID|link:$sArticle.name|escape}{#S#}
in stock{#S#}
{$sArticle.image|image:1}{#S#}
7362{#S#}
{$sArticle.articleID|category:">"|escape}{#S#}
Toneroffice{#S#}
{#S#}
no{#S#}
DE:::{$sArticle|@shippingcost:"prepayment":"de":"DHL / DPD"|escape:"number"|replace:',':'.'} EUR
{/strip}{#L#}

And you are done once you save the above field. Now is the time to go and submit your feed again in the google merchant center and fetch it. 

Leave a Reply

Your email address will not be published. Required fields are marked *