hi there i currently have a food ordering platform it is built on oscommerce and php
i need to develop an order/delivery tracking application inside the website.
currently ppl order food it sent to restaurant and they wait for it to come. they have no idea if food has left restaurant or where driver is.
so this will allow the customer to see the driver on the map and track the journey so they know the order is actually on its way to them. this makes for a better experience for all and less complaints.
1. customer places order
2. order sent to restaurant to accept and cook
3. order sent to driver to accept
4. driver goes to restaurant to pickup order
5. driver leaves restaurant to deliver to customer
6. customer can see driver on map to track their order
i would prefer in the style of UBEREATS so if u are not sure what this is then download it into your android or iphone and play around with it.
or read about it
it doesnt have to be overly technical or advanced just something that works allowing the customer to track the driver. obviously the driver will need to install an app to use the system and logon to accept orders this will all be interlinked to the same backend
restaurants will see one screen and drivers see another also then the restaurants will know who has accepted the order
orders_id = 1
drivers_id = 1
drivers_name = john doe
this could be a section from a db table
so each order id is assigned a unique driver id which the restaurant will know/see once the driver accepts it and offers to deliver it
if there is more than driver logged on then the FIRST driver to accept gets it and then it wont be offered again
i.e if order id 1 is accepted by driver id 1 then it cant be offered to any other driver unless he surrenders it.
we will assume that no driver will surrender any orders so develop the system initially to accomodate this.