Ecommerce-Full-Boilerplate-With-Admin icon indicating copy to clipboard operation
Ecommerce-Full-Boilerplate-With-Admin copied to clipboard

Time vs Location Tradeoff

Open jeffin143 opened this issue 6 years ago • 1 comments

Presently Most of the E commerce site let you shop products from random places irrespective of how far the location is (sorted according best price) , We could optimize it by showing the closest shop first and then following it with the other one ( or may be add a flag, so that when setting up they could just define on which metric they should show information )

A simple approach could be to query with the user's location, Also coordinates of the location could be pen down and then manhattan distance ( may be any particular metric could be taken into account ) and then showing according to increasing order of the distance.

Benefits : User would be able to get their item fast enough , may be they could afford a slight increase in charge then waiting for it days to receive.

Always believed in optimizing up things.

jeffin143 avatar Apr 24 '19 12:04 jeffin143

@jeffin143 that is a really great idea, the project does have a time project which can we can query upon and about the location, Will add that in todo and will try to do it sooner. Thanks.

anikethsaha avatar Apr 28 '19 17:04 anikethsaha