The Location Selection feature a.k.a. Location Rule, lets customers select a preferred store at the start of shopping. Once the preferred store is selected, the inventory available only at that location will be displayed. This will improve their shopping experience by providing accurate, location-specific inventory information. Note that customers can also easily switch their selected location at any time.
IMPORTANT: The Location rule feature requires theme customization and may not be suitable for all themes. We highly recommend testing the feature on a non-live theme first.
You can access it by clicking Location Rule in the Multi-location Inventory App.
A single-step setup is now included when you install the app on a new store. Click on the Setup rule button to initiate the process.
A single-step setup is now included when you install the app on a new store. Click on the Setup rule button to initiate the process.
Note: If this takes longer without any progress, refresh your browser.
Once the sync is completed, you can now enable the feature and display the location selection pop-up when customers visit your store.
Note: The Text and Widget settings have a preview panel to show you how the storefront end would look as you make modifications.
This setting allows you to modify text elements in the pop-up.
This setting is for editing the pop-up’s appearance. You’ll need to provide your own CSS to customize the look of the pop-up.
This is for editing the location info displayed on the pop-up.
This setting allows for editing the product page widget settings further.
You are shopping at this location. <br /> <a href="javascript:window.inventoryInfo.api.showLocationPicker(true)"> Change location </a> This setting is for synchronizing your inventory metafields. Perform a metafield update by clicking the Synchronize metafields button.
The Shop Online settings enable customers to place orders using available stock from all store locations, rather than being restricted to just one. When the “Shop Online (All Locations)” checkbox is enabled, a new option appears in the location selector. Selecting this option removes the inventory restriction altogether.
How to enable:
Check the box labeled “Shop Online (All locations)” to activate the feature.
Enter a label for your “Online” location (e.g., “All Shops”)
This will display the new option in the location selector pop-up along with physical store locations.
Set the location selection header icon
You can set a header icon for the location selection pop-up. To set it, please follow the guide below:
Step 4: In the code editor screen, do the following:
Sample Code:
<a href="javascript:window.inventoryInfo.api.showLocationPicker()" class="header__icon link focus-inset" style="position:relative;top:9px;left:23px;">
<svg viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
<path d="M1.791 2.253l-.597 3.583A1 1 0 002.18 7h.893a1.5 1.5 0 001.342-.83L5 5l.585 1.17A1.5 1.5 0 006.927 7h1.146a1.5 1.5 0 001.342-.83L10 5l.585 1.17a1.5 1.5 0 001.342.83h1.146a1.5 1.5 0 001.342-.83L15 5l.585 1.17a1.5 1.5 0 001.342.83h.893a1 1 0 00.986-1.164l-.597-3.583A1.5 1.5 0 0016.729 1H3.271a1.5 1.5 0 00-1.48 1.253z" fill="#000"></path>
<path d="M18 9H2v8.5A1.5 1.5 0 003.5 19H7v-7h6v7h3.5a1.5 1.5 0 001.5-1.5V9z" fill="#00"></path>
</svg>
</a>
Step 1: Locate the fill attribute within the <path> tags of the SVG code.
Use the information provided below to access the demo site to see this configuration upfront:
If you have any questions or concerns, don’t hesitate to contact our support team.