This feature allows customers to change the selected store/location directly from the cart page, improving flexibility and user experience in multi-location stores.
How to Enable / Disable Location Switcher in Cart
Go to:
WordPress Admin → Location Manage → Settings → Order & Cart

Setting Option
Allow Location Change in Cart
On / Off
Description:
Allow customers to change the location for products in their cart if the product is available in multiple locations.

How It Works (Frontend)
- When this option is enabled:
- A location switcher appears for each cart item
- Customers can select a different available location directly in the cart
- Stock availability is checked instantly before allowing the change
- Cart updates dynamically (AJAX) without page reload
- When this option is disabled:
- The selected location is shown as read-only
- Customers cannot change the location from the cart
- Location can only be changed from the product page (if allowed)
Availability Rules
- The location switcher appears only if:
- The product exists in more than one location
- The product has available stock in the target location
- If a product is available in only one location, the switcher is hidden.
Use Cases
- Customers want to switch pickup store
- Customers prefer a closer or faster-fulfillment location
- Multi-warehouse stores optimizing delivery
Notes & Behavior
- Location changes respect:
- Stock availability
- Location-based visibility rules
- Mixed-location cart rules (if enabled)
- If switching location makes the product unavailable:
- The change is blocked, or
- The cart item is updated/removed (based on your configuration)
Summary
| Setting | Effect |
|---|---|
| Allow Location Change in Cart = ON | Customers can switch locations in cart |
| Allow Location Change in Cart = OFF | Location is fixed after add-to-cart |
This setting gives customers more control while ensuring your location-based inventory rules remain enforced.