anikethsaha / Ecommerce-Full-Boilerplate-With-Admin

:zap: This is Full Working E commerce Site ( Boilerplate and Configuration Enabled ) With Admin Page Integrated :zap:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time vs Location Tradeoff

jeffin143 opened this issue · 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.

commented

@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.