Google Sitemap

CSVI 7.0 version
VirtueMart 3.0 or higher

A Google sitemap can be created using VirtueMart product export operation with the following steps.

Step 1

Create a template by selecting Component as VirtueMart, Action as Export and Operation as Product in template Details tab.

Step 2

Under File tab set the following optins

  1. Set Export type to XML
  2. Set Website to Custom
  3. Set Export State to Published. This is needed because only published products should appear in the sitemap as unpublished products are not accessible.

Google Sitemap File tab settings

Step 3

To design the layout of the sitemap, under XML layout tab set the following

  1. Fill the header with the text:
    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns=""
  2. Fill the body with the text:
  3. Fill the footer with the text:
  4. Click on apply to save your changes

Google Sitemap XML layout

Step 4

Add the template fields needed for export on CSVI template fields page.

  1. Add the fields:
    • product_url
    • picture_url
    • product_sku
    as shown on the image.
  2. Fill in the column header for the product_url and picture_url fields
  3. Publish the fields product_url and picture_url and to unpublish product_sku field.

Google Sitemap template fields

Step 5 

Finally we are done with setting up the template. Go to CSVI Export page and select the Google sitemap template to download the sitemap file.


Creating Sitemaps - Webmaster Tools Help