Parent and Child Store Locations

Location Management
Updated Nov 8, 20261 min read

Parent and child locations let you group stores, such as cities under a country. For example, “United States” can be a parent, with “New York” and “Miami” under it. It works in the free plugin. You can see a grouped menu on the live demo.

Set it up

  1. Go to Location Manage > Locations.
  2. Create the parent, such as “United States”, and leave Parent Location on None.
  3. Create each child, and choose the parent in Parent Location.
  4. Check the result in the store selector.
Parent Location field for grouping WooCommerce stores

Showing groups to shoppers

The selector shortcode can show the groups, with herichical="on", or as two dropdowns with herichical="seperately":

[mulopimfwc_store_location_selector herichical="seperately"]

The popup has the same choice, as Hierarchical Option. If a parent is inactive, its children show as top-level choices.

Example structures

  • Country and branch: Spain, then Barcelona and Madrid.
  • City and pickup point: London, then Covent Garden and Camden.
  • Warehouses: Europe Hub, then each country’s warehouse.

Tips

  • Use groups when you have many stores, or stores in several countries.
  • Keep to two levels. More levels make choosing harder.
  • Test the selector after each change.