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

Time vs Location Tradeoff

Đang mở
#2 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement help wanted
Ngôn ngữ chính
HTML
Star
166
Fork
54
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.