Magento 2 <-> Dolibarr ERP / CRM connect synchronize module PRO
Transfers Magento 2 orders to Dolibarr (Tested on Dolibarr v. 10 - 15 and Magento v. 2.3.0 - 2.4.3 .
- Creates a draft invoice in Dolibarr receiving the product name, amount, payment method and predefined customer id. If no such product exists in Dolibarr it can be created created. Additional attributes like customer name and telephone can also be passed as Complementary attributes (invoices).
- Synchronizes product from Magento to Dolibarr (sku, name, price, qty) Creates product if it does not exist. Multiple products can be selected and synchronized at once.
- Real Time product synchronizition from Dolibarr to Magento. Triggered on qty or price change
Please contact us if you require additional implementations or you have question about the product.
Install module by placing jvm folder in magento-root/app folder of Magento
Install Dolibarr module by placing magentoconnect folder in htdocs/custom
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Setup In Dolibarr -
- Activate module: API/WEB SERVICES (REST SERVER) - Enable the Dolibarr REST server providing API services"
- Activate module: "MAGENTOCONNECT" And set it up:
- Setup warehouses to use for sync - possible to choose multiple
- Setup magento url: https://mymagentosite.com/product/index/
- Setup Auth key: - See Magento setup bellow ( point 3 )
- Set to yes if you want to syn prices Dolibarr -> Magento
- Price Multipler - handles price conversions (In case different currencies or taxes need to be added / subtracted)
- Sets if product should be created or not if a product is passed on invoice level and it doesn't exist in dolibarr.
- Set the price level that needs to be syncronized.
Setup In Magento -
- Enable module
- Enter a password - used for communication between Magento and Dolibarr
- Enter Dolibarr API Key - Inside Dolibarr - get the API Key - Login Dolibarr using SuperAdmin and open User card of the SuperAdmin, then click on Modify. Key for API will display - enter it here.
- Enter API Path - https://example.com/api/index.php
- Enter Dolibarr Default Socid - Default client id for invoices created from Magento - Default Client ID - Socid ID. Taken from Dolibarr - Go to the Third party in Dolibarr, which you want to set up as Default customer for incoming invoies. You take the id from the url https://example.com//societe/card.php?socid=8038&save_lastsearch_values=1
- Default Currency Rate - used if Magento and Dolibarr use different currencies. Default is 1
- Warehouse Reference - Dolibarr warehouse for qty sync Magento -> Dolibarr.
- Synchronize qty - set yes / no
- Synchronize Customer Name - This is done when invoice is sent from Magento to Dolibarr -> Customer Name is filled as Complementary attribute (on invoice level).
- Synchronize Customer Telephone - This is done when invoice is sent from Magento to Dolibarr -> Customer Telephone is filled as Complementary attribute (on invoice level).
- Choose which orders should automatically (when invoiced in Magento) create invoice in Dolibarr based on payment methods