Akeneo To Shopware Connector
Requirements
ShopwareConnectorBundle |
Akeneo PIM Community Edition |
v1.0.* |
v1.4.*, v1.5.* |
v2.* |
v1.6.* |
Installation
Enable the bundle in the app/AppKernel.php
file in the registerBundles()
method:, (*1)
$bundles = [
// ...
new \Basecom\Bundle\ShopwareConnectorBundle\BasecomShopwareConnectorBundle(),
]
Add the following to akeneo_storage_utils
in the app/config/config.yml
file:, (*2)
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:, (*3)
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., (*4)
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., (*5)