I'm just getting around to understanding Shipping Profiles and Shipping Options in Medusa but I have the following use case and I'm looking for how to implement it. I'm willing to create some sort of plugin that could potentially help others as well...
In another project, unrelated to medusa, I implemented Shipping prices based on specified zones in google maps. I'm looking to potentially implement the same with Medusa but need a bit more background into Shipping Profiles and Shipping Options in order to do so.
Some background into how I calculated shipping costs from google map zones:
The bookings were meant to be local. Zip code based calculations didn't work for me in my case and required a more specific calculations... Therefore, I used Google Maps Zones. Individual zones were created and priced. If a user's intended shipping location was within one of those zones, the order could be shipped and the price was calculated based on the corresponding zone. Each zone had its own price. If the user's intended location was not within any zones, they would need to pickup the product (shipping wouldn't be available)
In my use case, I'm creating a multi-tenant solution (already done), but i'm not sure if shipping profiles / shipping options should also be multi-tenant (Should they each have a store_id to associate them?).
- Any thoughts on creating this sort of google maps based shipping calculator?
- Should shipping profiles / shipping options also be
multi-tenant?
Any feedback / comments are appreciated!