Display Location Selection Popup

Display Location
Updated Nov 8, 20263 min read

The location popup PRO asks visitors to choose a store when they arrive, so they see the right prices and stock from the start. Go to Location Manage > Settings > Popup and find Popup Settings. You can see it on the live demo.

Before you start

  • Create at least two active stores.
  • Assign your products to them.

Turn it on

  1. Turn on Enable Popup.
  2. Choose a Template Selection.
  3. Click Save Changes and clear your site’s cache.
  4. Test it with the checklist below.
Popup Settings for the WooCommerce store selection popup

The settings

SettingWhat it doesDefault
Enable PopupShows the popup.Off
Template SelectionThe design: Default, Modern, Modern Simple, Classic, Tabs, Compact or Grid.Default
Use Select2, Hierarchical Option, Show CountA searchable list, parent and child stores (On, Off or Separately), and child counts. These show with the Default template only.Off
Title Show in PopupShows the popup title.Off
Show Popup for AdminsShows it to administrators, shop managers and location managers too.Off
Detect Visitor Location AutomaticallySuggests a store from the visitor’s position.Off on new sites
Show Nearest Store in PopupSuggests the closest store, in the Modern, Modern Simple and Classic templates.On
Nearest Store Maximum Distance (km)Ignores stores further than this. Empty or 0 means no limit.Empty
Popup Custom CssYour own styling, for example on div#lwp-store-selector-modal.Empty

These are turned off when the plugin picks the store, with Inventory Based, Proximity Based or Manual Assignment with Optional Location Selection off.

When it opens

It opens when the visitor has not chosen a store and has not closed it. The choice is remembered for Location Cookie Expiry (Days), under Advanced, 30 days by default.

Change the wording

Go to Text Management > Modal & Popup. You can change Popup Title (“Select Your Location”), Dropdown Placeholder (“– Select a Store –“, for the Default template) and Popup Button Text (“Select Location”). For example: “Where are you shopping today?” and “Show my store”.

Testing checklist

  1. Open the shop in a private window. The popup appears.
  2. Choose a store. Prices and stock change.
  3. Reload. The popup does not appear again.
  4. Test on a phone.

If it does not appear

  • Check Enable Popup.
  • You are logged in as an admin, and Show Popup for Admins is off.
  • A store is already chosen. Clear your cookies.
  • A page cache is serving an old copy. Clear it.
  • The plugin picks the store. Check your order assignment method.
  • Look for errors in the browser console, by pressing F12.

You can also see the popup with a map, automatic detection and parent and child stores on the demo.