Regions in Storefront

A customer chooses their region in a storefront. The selected region is later used when retrieving prices for products and during checkout.

In the storefront, you implement the following:

  • Show customers available regions, with ability to select their region.
  • Store selected region in local storage.
  • Pass the selected region's ID in other requests, such as when retrieving products, to retrieve the relevant price.

The first two points are explained in the following guides, and the last one is explained in guides relevant to the topic (for example, the guide explaining how to retrieve products).

Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break