Git Product home page Git Product logo

dndgoogleshoppingconnectorbundle's Introduction

GoogleShoppingConnectorBundle

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.

dndgoogleshoppingconnectorbundle's People

Contributors

dnd-gimix avatar dnd-magnum avatar dnddeployer avatar jmleroux avatar riconeitzel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dndgoogleshoppingconnectorbundle's Issues

BUG: Wrong category exported

Hi!

While testing your plugin I encountered the following fault:

In the product export XML, the wrong category is selected for google_product_category.

I think the category is statically programmed to be "0" on line 277 in function formatGoogleCategory in XmlProductWriter.php:

$category = $product['categories'][0];

Changing it to "1" selected the google category in my install. Can you review this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.