This section explains how import and export of orders between Tryton and Magento works, first lets start with creating the sale orders:
In Magento Admin Panel’s sales, clicking on the [Create New Order] button will allow you to add sale orders to your products, the order process consists of several simple steps. You start by adding an item to the cart, then proceed to checkout, select a checkout method, fill in some billing and shipping information, select a payment method and then place the order. See below to Create New Order.
Note
All the data represented below is demo data and is only for demonstration purposes.
Sale in Magento
Orders in Magento
You can review all your orders from the Magento admin area > Sales > Orders. In the previous section we placed list if orders, so let’s click on it to see how it looks like:
Orders placed in Magento Admin Panel are imported in Tryton from Store View. See below:
An order in Magento has a number of entities related and they are imported in Tryton as described below:
A window pop-ups to import all sale orders placed on this store view. Enter Continue, refer screenshot shown below:
Order imported as Sales in Tryton
Note
When the order import happens next time, the status of the orders in state in Tryton will be updated if there is a change in state on Magento.
You can edit an order by clicking on it and modify it to your preference. The cancel the order click over Cancel:
Now state has been changed to cancelled, see below
Cancelled Sale Order
Now to export the changes to Magento, refer export order
Once the order is processed in Tryton, the shipping status of the order based on delivery is updated on Magento by Export Order.
This will export order’s status to magento for this store view
Note
This feature is currenctly available for Cancelled Orders