This tutorial explains how to export Google Merchant details from VirtueMart using RO CSVI
Requirements
Background information
Google Base exports are used to upload product information to Google Product Search. There is no default export as the fields required depend on the products being uploaded to Google Product Search and the country you are importing products for. The document here explains the basic settings on how to create a template, template fields and run the export. It also tells on how to link the template fields to Google Base fields.
To start with you can use the example Google export template attached here.
Google Merchant Export - Creating the export template
A template can be created by following these steps:
- Go to Components -> RO CSVI -> Templates
- Click New
- Give the template a name
- Set Action to Export
- Set Component to VirtueMart
- Set Operation to Google Merchant
- Click Next: Select Source
- Destination is set default to Download. No need for change.
- Click Next: Select options
- The default values are OK, change if needed.
- Click Next: Select fields
- Fields must be added otherwise there is nothing for RO CSVI to export. Click Edit template fields.
- A new window opens with the Template fields page. You can add new fields by clicking New or Quick Add.
- When all fields are added you can close the window
- Click Next: Finalize
- All done here
- Click Close to return to the list of templates or Edit if you want to fine-tune the template further.
Google Merchant Export - Add the fields to export
Template fields can be added by following these steps:
- Go to Components -> RO CSVI -> Templates
- Click on Template fields
- In the Search Tools select your template
- Click on New to add a single field or click on Quick Add to add multiple fields.
Quick Add
The Quick Add Option allows you to quickly add multiple fields to a template. It is not possible to set any settings per field here but that can be done after the fields have been added to the template.
Which fields are required for you, depends on the country and the products you want to import in the Google Product Search. Check the attribute requirements to find out which fields are required for you.
Here we will demonstrate some general required fields:
- id
- title
- description
- google product category
- link
- image link
- condition
Google Merchant Export - Setting up the export fields
First step is to map the Google fields with the RO CSVI template fields:
RO CSVI | |
---|---|
id | product_sku |
title | product_name |
description | product_desc |
google product category | category_path |
link | product_url |
image link | picture_url |
condition | custom |
Now that we know which fields are need to be used, we will add them to the export template fields. Each field will be added with the following settings:
Field name | Column header | Default value |
---|---|---|
product_sku | g:id |
|
product_name | title | |
product_desc | description |
|
category_path | g:google_product_category |
|
product_url | link | |
picture_url | g:image_link |
|
custom | g:condition |
new |
Google Merchant Export - Run the export
The export can be run by following these steps:
- Go to Components -> RO CSVI -> Export
- Select the template created earlier
- Click Export
- The export is run
- The Log details page will be shown with information regarding the export if the Enable logging is enabled in the template
Video showing the process
Further reading
- By default RO CSVI exports the category_path with a /, this is automatically changed on export to the Google Product Search attribute >
- If your category structure does not match that of Google Product Search, you can use the Replacement feature to replace your category names with those of Google Product Search
- If the field g:tax is used, the default value must be set to follow the layout country:region:rate:tax_ship. RO CSVI will change this to the appropriate tags on export
- To add your own shipping rates, use the Field name custom_shipping and Column header g:shipping
- If the field g:shipping is used, the default value must be set to follow the layout country:service:price. RO CSVI will change this to the appropriate tags on export
- To add identifier_exists field add the custom template field with column header set to g:identifier_exists and default value set to Yes or No.