anikethsaha / anikethsaha/Ecommerce-Full-Boilerplate-With-Admin

Time vs Location Tradeoff

Offen
#2 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement help wanted
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.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.