Try splitting unreserved order lines to nearest coordinates
How it works:
- We determine the customer's coordinates based on their delivery address (postal code and country) using Google's API.
- Unreserved order lines are then moved to the nearest warehouse with available inventory.
- The "Update Order Line Reserve Inventory" step reserves the inventory to prevent further movement.
- This step is dependent on the stores having coordinates. If not, the store is ignored.
Set coordinates for warehouse
- Click on store in the navigation
- Select a store from the list
- Click on edit store
- Add coordinates
Add workflow steps
- Navigate to configuration -> orders - > order types and select the wanted order type.
- Typically, the status for adding new workflow steps will be "New".
- Add the workflow steps to the workflow: