akeneo / magento-connector-bundle
Akeneo PIM bundle to export to Magento platform
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 2 200
Dependents: 0
Suggesters: 0
Security: 0
Stars: 57
Watchers: 26
Forks: 33
Open Issues: 24
Type:symfony-bundle
Requires
- akeneo/pim-community-dev: ~1.2@stable,<1.4
- guzzle/service: >=3.6.0,<3.8.0
Requires (Dev)
- fabpot/php-cs-fixer: @stable
- henrikbjorn/phpspec-code-coverage: 1.0.*@dev
- pdepend/pdepend: 1.1.*
- phpmd/phpmd: 1.*
- phpspec/phpspec: 2.0.*@dev
- squizlabs/php_codesniffer: 1.*
- dev-master
- 2.0.x-dev
- 1.2.x-dev
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- 1.1.x-dev
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- 1.0.x-dev
- v1.0.1
- v1.0.0
- v1.0.0-RC10
- v1.0.0-RC9
- v1.0.0-RC8
- v1.0.0-RC7
- v1.0.0-RC6
- v1.0.0-RC5
- v1.0.0-RC4
- v1.0.0-RC3
- v1.0.0-RC2
- v1.0.0-RC1
- v1.0.0-BETA1
- v1.0.0-ALPHA2
- v1.0.0-ALPHA1
- dev-MC-126
- dev-MC-218
- dev-doc_specifications
- dev-MC-159
- dev-MC-113-CP
- dev-MC-160
- dev-MC-158
- dev-MC-157
- dev-behats
- dev-MC-60
- dev-basic_mapping
- dev-category_reader_channel
- dev-MC-46
- dev-maintenance/pim_1.2.0
- dev-enhancement/store-view-dropdown
- dev-enhancement/improve-specs
- dev-maintenance/managerSpec
- dev-maintenance/wip_attribute_set
- dev-maintenance/wip
- dev-enhancement/sliptclass
- dev-maintenance/1.0_backports
This package is not auto-updated.
Last update: 2019-07-27 13:32:29 UTC
README
Welcome on the Akeneo PIM Magento connector bundle.
This repository is issued to develop the Magento Connector for Akeneo PIM.
Summary
- Requirements
- How to install Magento connector in Akeneo ?
- How to configure Magento to work with connector ?
- User guide
- Advanced connector configuration
- Bugs and issues
- Troubleshooting section
- Actions not supported
Requirements
- php5-xml
- php5-soap
- Akeneo PIM CE 1.2.x stable or PIM CE 1.3.x stable
- Magento from CE 1.6 to 1.9 and EE 1.11 to 1.14
- MongoDB (optional)
If you want to manage configurable products, you must add magento-improve-api in your Magento installation.
Installation instructions
Please make sure that your version of PHP has support for SOAP and XML (natively coming with PHP for Debian based distributions).
Installing the Magento Connector in an Akeneo PIM standard installation
If not already done, install Akeneo PIM (see this documentation).
The PIM installation directory where you will find app
, web
, src
, ... is called thereafter /my/pim/installation/dir
.
Get composer:
$ cd /my/pim/installation/dir
$ curl -sS https://getcomposer.org/installer | php
Install the MagentoConnector with composer:
$ php composer.phar require akeneo/magento-connector-bundle:1.2.*
Enable the bundle in the app/AppKernel.php
file, in the registerBundles
function just before the return $bundles
line:
$bundles[] = new Pim\Bundle\MagentoConnectorBundle\PimMagentoConnectorBundle();
You can now update your database:
php app/console doctrine:schema:update --force
Don't forget to reinstall pim assets, then clear the cache:
php app/console pim:installer:assets
php app/console cache:clear --env=prod
Finally you can restart your apache server:
service apache2 restart
Installing the Magento Connector in an Akeneo PIM development environment (master)
The following installation instructions are meant for development on the Magento connector itself, and should not be used in production environments. Start by setting up a working installation as previously explained, but use de dev-master version:
$ php composer.phar require akeneo/magento-connector-bundle:dev-master
Then clone the git repository of the Magento connector bundle anywhere on your file system, and create a symbolic link to the vendor folder of your Akeneo installation's (after renaming/deleting the original one).
You can now update your database and reinstall pim assets as explained previously.
Demo fixtures
To test the connector with the minimum data requirements, you can load the demo fixtures. Change the installer_data
line from the app/config/parameters.yml
file to:
installer_data: PimMagentoConnectorBundle:demo_magento
Two locales are activated by default, so for the export jobs to work out of the box, you need to add an extra storeview to your Magento environment, and map this store view with the Akeneo fr_FR
locale.
Magento side configuration
In order to export products to Magento, a SOAP user with full rights has to be created on Magento.
For that, in the Magento Admin Panel, access Web Services > SOAP/XML-RPC - Roles
, then click on Add New Role
button. Create a role, choose a name, for instance “Soap”, and select All
in Roles Resources.
Role name setup example:
Role resources setup example:
Now you can create a soap user. Go to Web Services > SOAP/XML-RPC - Users
and click on “Add New User” button. Complete user info at your liking, then select “Soap” role (or whatever name you gave to it) in the User Role section.
User setup example:
User role setup example:
After that you can go to Spread > Export profiles
on Akeneo PIM and create your first Magento export job. For more informations, go take a look to the user guide.
Bug and issues
This bundle is still under active development. Expect bugs and instabilities. Feel free to report them on this repository's issue section.
Troubleshooting
You can find solutions for some common problems in the troubleshooting section.