agencednd/google-shopping-connector-bundle

Dnd bundle to export products from Akeneo PIM to Google Shopping

1.3.0 2018-02-05 08:54 UTC

This package is auto-updated.

Last update: 2020-06-28 18:35:21 UTC


README

Google Shopping Connector for Akeneo PIM >= 1.5

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

It will create a new "Google Shopping" export type in which you can map your Akeneo attributes to the mandatory attributes needed for Google Shopping exports. The connector will generate a XML file with the correct header for Google Shopping integration.

Video demonstration

You can watch the webinar dedicated to the extension :

English version

French version

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 assists companies in the creation and development of customized digital (open source) solutions for web and E-commerce since 2004.