Module ECommerce NG (Magento): Difference between revisions

Jump to navigation Jump to search
Line 67: Line 67:




TODO In a future version, the "Magento to Dolibarr sync" button could be replaced with a scheduled job/script to launch it automaticaly every day or every hour for example.
TODO In a future version, the "Magento to Dolibarr sync" button could be replaced with a scheduled job/script to launch it automaticaly every hour for example.


== Synchronize from Dolibarr to Magento ==
== Synchronize from Dolibarr to Magento ==


Synchronizing is done in real time:
Synchronizing is done in real time.


* Categories created/modified into Dolibarr => Created into Magento if category is inside the parent category defined into setup.
{|class="wikitable sortable"
* 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.
!Action into Dolibarr !! Effect into Magento !! When !! Note
* 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.
| Categories created/modified into Dolibarr || No update is currently done on Magento. In a future version, creation/update into Magento if category is inside the parent category for Magento, defined into module setup || Real time ||
* Invoice created into Dolibarr => They are not pushed to Magento except if source order was coming from Magento.
|-
* Stocks
| Products created/modified into Dolibarr || No update is currently done on Magento. In a future version, creation/update into Magento will be done if product has a category inside parent category of Magento product (defined into setup too) || No update is currently done on Magento. In a future version, sync will be in real time ||
|-
| Thirdparties are created or modified into Dolibarr || No update is currently done on Magento. In a future version, creation/update into Magento will be done if thirdparty has the  category of Magento thirdparties (defined into setup) || No update is currently done on Magento. In a future version, sync will be in real time ||
|-
| Contact/addresses are created or modified into Dolibarr || None ||  || No update done on Magento
|-
| Orders created into Dolibarr || None ||  || Orders created directly into backoffice does not need to appear into ecommerce. See next line for Orders update.
|-
| Orders updated into Dolibarr || Order will be updated into Magento if order was created by a "Magento to Dolibarr sync" || Real time || TODO
|-
| Shipments created into Dolibarr || Shipment will be created into Magento if source order of shipment was created by a "Magento to Dolibarr sync" || Real time || TODO
|-
| Invoice created/updated into Dolibarr || None. In a future, invoice will be created/updated into Magento if source order was coming from Magento || Real time || TODO
|-
| Stock of a product is modified (because of a shipment processed of an order or invoice validate, depending on Dolibarr setup for the stock change rule) || Stock is updated on Mangeto if same product is found || Real time || TODO
|}


= Development =
= Development =
{{TemplateModTeclibEn}}
{{TemplateModTeclibEn}}

Navigation menu