Module ECommerce NG (Magento)
<keywords content="Magento, Dolibarr, synchro, synch, interface" />
Informations
| Module name | Magento |
| Editor / Editeur | Teclib - www.teclib.com |
| Download or buy page / Page achat ou téléchargement | External module - www.dolistore.com |
| Status / Statut / Estado | Development / Développement |
| Prerequisites / Prérequis |
Dolibarr min version: See on Dolistore Dolibarr max version: See on Dolistore |
| Last update date / Date mise à jour fiche / Fecha última actualización | 2016-04-1 |
| Note / Nota |
Features
Intègre une synchronisation Magento - Dolibarr. Il s'agit d'un module qui s'installe sur Dolibarr. L'accès à Magento est fait par Dolibarr en utilisant les Web services par défaut de Magento.
Installation
From the application
- Download the archive file of module (.zip file)
- Go on menu Home -> Setup -> Modules -> Deploy external module and submit the file.
- Module is then visible into list of available modules (Home -> Setup -> Modules) and can be activated.
Manually
- Download the archive file of module (.zip file)
- Put the file into the root directory of Dolibarr.
- Uncompress the archive file, for example with command
unzip modulefile.zip
- Module is then visible into list of available modules (Home -> Setup -> Modules) and can be activated.
Setup
To use this module, you must first enable it using an administrator account, via the menu option "Home - Setup - Modules".
Choose the tab where the module is listed. Then click on "Activate".
The module is now activated.
If a cog icon appears
on module thumb or at end of the line of the module, click on it to access the setup page specific to the module.
Setup on Magento side
- Créer un compte Webservice SOAP/XML RPC depuis l'interface admin System - Webservices - SOAP/XML RPC, par exemple le compte soapuser.
- Mettre un mot de passe dans le champ API key.
Setup on Dolibarr side
Aller sur la page de configuration Dolibarr du module Magento.
- Saisir l'URL des services SOAP Magento.
- Renseigner le login et l'API key créé à l'étape précédente dans Magento (soapuser).
- Choisir la catégorie à utiliser pour marquer les tiers issus de Magento ou ceux à pousser sur Magento. Le tiers assigné à cette catégorie seront poussés en temps réel sur Magento.
- Choisir la catégorie mère dans laquelle sera créée les catégories produits issues de Magento. Les produits créés ou modifiés qui sont assignés à une catégorie ou sous-catégorie de cette dernière seront poussés sur Magento en temps réel.
Usage
Synchronize from Magento to Dolibarr
Synchronizing can be done manually from page Synchronizing Site ...:
- Categories created/modified into Magento => Created into Dolibarr as sub-categories of the parent category used for Mangeto categories (defined into module setup) (Table llx_ecommerce_category is mainained to keep link of dolibarr id and remote magento id)
- Products created/modified into Magento => Created into Dolibarr with categories (Table llx_ecommerce_product is mainained to keep link of dolibarr id and remote magento id)
- Thirdparties and contact/addresses created/modified into Magento => Created into Dolibarr (Table llx_ecommerce_societe and llx_ecommerce_socpeople is mainained to keep link of dolibarr id and remote magento id)
- Orders created/modified into Magento => Created into Dolibarr (Table llx_ecommerce_commande is mainained to keep link of dolibarr id and remote magento id)
- Creating a shipment in Magento is changing status of Order from "pending" to "processing". Because it is changing status or order, it is synchronized
- Invoices created/modified into Magento => TODO
TODO Add job/script to automate this.
Synchronize from Dolibarr to Magento
Synchronizing is done in real time:
- Categories created/modified into Dolibarr => Created into Magento if category is inside the parent category defined into setup.
- Products created/modified into Dolibarr => Created into Magento if product has a category inside parent category of Magento product (defined into setup too).
- Thirdparties and contact/addresses into Dolibarr are not synchronized to Magento.
- Orders created into Dolibarr => They are not pushed to Magento. Orders updates are done on Magento only if order was created by a Magento to Dolibarr synchronization.
- Shipments created into Dolibarr => They are not pushed to Magento except if source order was coming from Magento.
- Invoice created into Dolibarr => They are not pushed to Magento except if source order was coming from Magento.
- Stocks
Development
Development of this module is not included into standard GIT repository of Dolibarr but inside a dedicated repository managed by TecLib.
- GIT Repository: https://github.com/TECLIB/dolibarr