vendure icon indicating copy to clipboard operation
vendure copied to clipboard

Location selector using Google Maps (for use-cases that require pickup instead of shipping)

Open KariNarhi28 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Currently most of Vendure's delivery-logic is based on shipping / using courier services.

However, there are cases where people wont send products to customer, but rather have the customer come on-site and pickup the products.

Currently there is no pickup-related solution.

Describe the solution you'd like Ability to choose if Product can be shipped or is pickup-only when creating Product and it's variants.

The location would be selected by using the Google Map component with Google Maps Javascript API and then save the coordinates in a "location"-field for the Product and / or it's variants.

Then those coordinates could be queried on Storefront along with the other Product-data and use the Google Map component with the coordinates as input to show the Product's pickup-location.

Obviously, developers would provide their own Google Maps API-keys and Map ID's, maybe with args-inputs?

Describe alternatives you've considered Most likely this could be a separate plugin-feature using Custom Fields, which I might start working on but it's gonna be work-related so not available for public community for the time being.

Additional context N/A

KariNarhi28 avatar Jul 29 '24 19:07 KariNarhi28

Thanks for the suggestion.

Right now I'd say this would work best as a community plugin (or perhaps part of a larger plugin that exposes a range of more advanced UI controls for the Admin UI).

michaelbromley avatar Jul 30 '24 08:07 michaelbromley

This should be part of a POS plugin, that works in combination with the multi stock location feature.

dlhck avatar Sep 24 '24 13:09 dlhck