agencednd/google-shopping-connector-bundle

Dnd bundle to export products from Akeneo PIM to Google Shopping


Keywords
flow, xml, ecommerce, google, mapping, e-commerce, connector, dnd, PIM, akeneo, google shopping
License
OSL-3.0

Documentation

GoogleShoppingConnectorBundle

Google Shopping Connector for Akeneo PIM >= 1.5

This connector allows you to export your products into XML for Google Shopping.

Requirements

GoogleShoppingConnectorBundle Akeneo PIM Community Edition
v1.3.* v2.*
v1.2.* v1.7.*
v1.1.* v1.6.*
v1.0.* v1.5.*

Connector installation on Akeneo PIM

If it's not already done, install Akeneo PIM.

Get composer (with command line):

$ cd /my/pim/installation/dir
$ curl -sS https://getcomposer.org/installer | php

Then, install DnD-GoogleShoppingConnectorBundle with composer:

In your composer.json, add the following code:

  • In require:
{
    "agencednd/google-shopping-connector-bundle": "1.3.*"
}

Next, enter the following command line:

$ php composer.phar require agence-dnd/google-shopping-connector-bundle

Enable the bundle in app/AppKernel.php file, in the registerBundles function, before the line return $bundles:

$bundles[] = new Dnd\Bundle\GoogleShoppingConnectorBundle\DndGoogleShoppingConnectorBundle();

Add the route in app/config/routing.ymlfile, under the pim_reference_data node:

dnd_google_shopping_connector:
    prefix: /google-shopping-connector
    resource: "@DndGoogleShoppingConnectorBundle/Resources/config/routing.yml"

Configuration

Create symlink for your images

If you manage your images in the PIM, you must create a symlink of the app/file_storage folder into the web folder :

$ ln -s /my/pim/installation/dir/web/file_storage /my/pim/installation/dir/app/file_storage
Import
  • Go to Collect > Import profiles and then create your GoogleShoppingConnectorBundle import categories profile
  • Select the category you want to import the google categories in (we advice you to create a new tree and a new channel dedicated to google shopping)
  • Download the file of the taxonomies Taxonomy with numeric IDs in an Excel Spreadsheet (.xls) on Google Website
  • Open this file in an editor like Open Office and save it as a XLSX file
  • Import this file with the previously created import profile
Export
  • Go to Spread > Export profiles and then create your GoogleShoppingConnectorBundle export products for Google shopping profile
  • Fill the informations of your channel
  • Map your attributes to Google Shopping attributes (leave empty if you don't use one of them, see the Documentation to know the required attributes)

About us

Founded by lovers of innovation and design, [Agence Dn'D] (http://www.dnd.fr) assists companies for 11 years in the creation and development of customized digital (open source) solutions for web and E-commerce.