Geolocation - Workflow Step

  • Updated

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

  1. Click on store in the navigation
  2. Select a store from the list
  3. Click on edit store



  4. Add coordinates


Add workflow steps

  1. Navigate to configuration -> orders - > order types and select the wanted order type.



  2. Typically, the status for adding new workflow steps will be "New".




  3. Add the workflow steps to the workflow:





Was this article helpful?