anikethsaha / anikethsaha/Ecommerce-Full-Boilerplate-With-Admin
Time vs Location Tradeoff
- Vorherrschende Sprache
- HTML
- Sterne
- 166
- Forks
- 54
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.