Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Need more context about the delivery process #111

Open
roopeshsn opened this issue Oct 21, 2022 · 1 comment
Open

Need more context about the delivery process #111

roopeshsn opened this issue Oct 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@roopeshsn
Copy link
Owner

roopeshsn commented Oct 21, 2022

As of now in Freshbey one can order items using COD and UPI. In both methods, the manual intervention is needed to update the status. In delivery status, there is only one of the two messages "Delivered" or "Not delivered" which are shown to the user.

Here's the order page.
order_page_freshbey

The plan is to give more context about the delivery like where the product is right now when it will get to reach the customer something like that.

Imagine Freshbey has one or more stores in every city. It need not be a store. It can also be a warehouse. So once we get the location from the user, we'll map the nearest store or warehouse to deliver the products to the customer. Accordingly, the details will be shown to the customer as I stated above.

Come up with a solution to address this problem.

@roopeshsn roopeshsn added enhancement New feature or request hacktoberfest hacktoberfest labels Oct 21, 2022
@roopeshsn roopeshsn pinned this issue Oct 21, 2022
@roopeshsn roopeshsn removed the hacktoberfest hacktoberfest label Nov 20, 2022
@vishu2222
Copy link

One approach i can think of is to use socket-IO to update order notifications pushing them from server to the client as sockets allow bidirectional communication. we can also use geolocation API in JavaScript to get the current location of the customer as latitude and longitude and use any geocoding service to get the client address. To implement nearest distance search we need to save the coordinates of the warehouses or stores in the database. I am willing to contribute on this or any other idea.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants