This article describes the process of reading product changes in French Erply and updating their counterparts in Magento.
Magento reads changed products from French Erply completely automatically according to schedule defined in Erply Module configuration in Magento Admin. Functionality works like this:
- Magento initiates connection to French Erply using “Lite Update Profile” and asks for all products that were modified from the time of last connection
- Erply returns a set of products if there were any changes
- Magento parses data received from Erply and only uses following fields from received data-set:
- Name
- Long Description (this is where French description is expected, Short Description holds original product description in English if it was present at the time of product import/creation from Magento to FR Erply)
- Price incl. VAT
- Weight
- Status (Enabled, Disabled, Discontinued…)
This process only updates values of already existing products if those values are different from what Magento has on record, which makes this update highly effective and fast. Products are considered “changed” in Erply by many reasons, not only when above listed fields are changes so it would be unwise to keep updating values in Magento if they were not actually changed.
[alert]Products created in French Erply directly by employees in France and not from Magento are skipped, as French Erply is not supposed to be contributing new products, this is only done in Narva Erply. If you are looking to add new product it should be done in Narva Erply, then it will be created in Magento and then it can be sent to French Erply. This is the only correct way of adding products![/alert]