Enable State and Country Picklists for B2B Commerce Stores

Stores based on the LWR (Lighting Web Runtime) template accept only ISO codes for country and state or province. To minimize user entry errors, we recommend enabling state and country picklists, so that users select values from a list instead of typing them in. The picklists ensure that ISO codes are used consistently throughout the entire organization.

Required Editions

View supported editions.

Which Salesforce Commerce Product Do I Have?

To ensure the shipping and billing address are displayed for the user profile, set up a state and country picklist for every supported shipping state.

  1. From Setup, in the Quick Find box, enter and select State and Country/Territory Picklists.
  2. Click Enable Picklists for Address Fields to turn on the picklists.
  3. Click Configure States, Countries, and Territories.
  4. Click Edit for the country where you want to add the state.
  5. Click New State.
  6. Enter the state name and the state code, and select Active and Visible.
  7. Save your changes.