basecom/shopware-connector

This package is abandoned and no longer maintained. No replacement package was suggested.

Akeneo to Shopware Connector - Export only

2.1.0 2017-10-10 07:31 UTC

This package is auto-updated.

Last update: 2024-07-27 20:32:31 UTC


README

Requirements

Installation

Enable the bundle in the app/AppKernel.php file in the registerBundles() method:

    $bundles = [
        // ...
        new \Basecom\Bundle\ShopwareConnectorBundle\BasecomShopwareConnectorBundle(),
    ]

Add the following to akeneo_storage_utils in the app/config/config.yml file:

akeneo_storage_utils:
    mapping_overrides:
        -
            original: Pim\Bundle\CatalogBundle\Entity\Category
            override: Basecom\Bundle\ShopwareConnectorBundle\Entity\Category
        -
            original: Pim\Bundle\CatalogBundle\Entity\Family
            override: Basecom\Bundle\ShopwareConnectorBundle\Entity\Family
        -
            original: Akeneo\Component\FileStorage\Model\FileInfo
            override: Basecom\Bundle\ShopwareConnectorBundle\Entity\FileInfo
        -
            original: Pim\Component\Catalog\Model\Product
            override: Basecom\Bundle\ShopwareConnectorBundle\Entity\Product

Clear you cache and update your database:

    php app/console cache:clear --env=prod
    php app/console doctrine:schema:update --force

Documentation

General Exporter Setup

To use the exporter to its full extend you are required to install a Shopware extension which allows you to import all custom attributes and shops into Akeneo. After installing the extension on the Shopware side, you need to create the import job in Akeneo and run it once.

Export Job

Be sure to fill the correct API details which Shopware is displaying in its user management tab. After the general API information is filled, the attribute mapping has to be done by hand at which point you need to fill in the Akeneo attribute names.