Google Shopping now supports variation products. This is rather limited compared to your webstore, but this is how to add it to an existing export template.
Tip: Child products must have an image for Google Shopping to accept the variation.
Maropost Commerce partners can set this up for you.
Visit the job request portal for a quote.
Prepare Products
When you send variation products on Google Shopping, Google needs to be able to access each variation product separately. By default, Maropost Commerce automatically redirects anyone to the parent product. To change this behaviour:
-
In your Maropost Commerce control panel navigate to Settings & tools > All settings & tools.
-
Search for and select Advanced Configuration.
-
In the Name field search for REDIRECT_VARIATIONS
and click on it.
-
Change the value to No and click the Save changes button.
Now that child products won't redirect, you will need to add product data that is normally inherited from the parent product, to the child products. Ensure all of your child products include:
- Description
- Images
- Brand
- Product Category
- SEO data
- Custom field information
If your child products do not have this information your SEO ranking will be negatively impacted.
Google Shopping Export Template
In this example, we show how you can export the specifics ‘Colour’ and ‘Size’ however you can change the wording to whatever specifics you wish to export.
To add variation specifics to your Google Shopping product export:
-
In the file builder add the below information to the file header:
Colour Size item group id
Important: Ensure you add a tab character after each specification, as demonstrated in the example below.
The image below demonstrates how you would add the colour specific to your data feed:

-
In the File Body - body section you now need to add the fields that correspond to the new headers:
Important: The below code will only work if the product variations (child products) have 3 or less item specifics.
"[%if [@specific_type1@] like 'Colour'%][@specific_value1@][%elseif [@specific_type2@] like 'Colour'%][@specific_value2@][%elseif [@specific_type3@] like 'Colour'%][@specific_value3@][%/if%]" "[%if [@specific_type1@] like 'Size'%][@specific_value1@][%elseif [@specific_type2@] like 'Size'%][@specific_value2@][%elseif [@specific_type3@] like 'Size'%][@specific_value3@][%/if%]" [@parent_sku@]
-
Click on the Filter tab. Under the Child/Parent Status select:
- Is Child Product
- Is Not Child Product
- Doesn’t Have Child Product

-
Replace [@descrtiption@] with [%if [@description@] eq '' %][%product sku:'[@parent_sku@]'%][%param *body%][@description@][%/param%][%/product%][%else%][@description@][%/if%]
. This will export the description of the child product. If the child product doesn't have a description, it will use the parent product description instead.
-
Click the Save Changes button.
Your Google Shopping feed will now include variation products.
Related Articles