Description
Lexica Selector – Branch Selection for WooCommerce is for shops and restaurants with several branches. Customers pick the branch they want to order from before they add products to the cart. The branch is saved with the order and shown to staff and to the customer.
A lightweight alternative: most location plugins are store locators (maps that help visitors find a shop) or full inventory systems with stock for each location. Lexica Selector does neither. It is a lightweight order-routing step: every cart and every order is tied to one branch, the choice is enforced on the server (classic and block checkout), and each order keeps a snapshot of the branch so staff know where to prepare it. It adds no tables, loads no maps and makes no external requests.
Lexica Selector or BranchLex? Both plugins are made by the same author. BranchLex – Multi Location for WooCommerce is a full multi-location system with stock for each branch, stock transfers, pickup and delivery shipping methods, staff roles and reports. Lexica Selector is for shops that keep one shared stock and only need to know which branch each order is for. Examples are bakeries, restaurants and cafés where every branch sells the same menu. It takes about two minutes to set up and adds nothing else to your store. Do not run both plugins together; if you later need stock for each branch, move to BranchLex.
Features
- Until a branch is chosen, clicking “Add to cart” opens a branch picker. After the customer chooses, the product is added automatically.
- Optional popup on the first visit.
- An “Ordering from: Branch (Change)” bar on shop, product, cart and checkout pages, for both the classic and the block cart/checkout.
- Shortcode
[branchsel_branch_selector]shows the bar anywhere, for example in the header. - Add to cart and checkout are blocked on the server until a valid branch is chosen (classic and block checkout).
- Each order stores a snapshot of the branch name, address, phone, email and map link.
- The branch is shown on the admin order screen (editable), in an order list column with a branch filter, on the thank-you page, in My Account and in all order emails.
- Optionally sends a copy of the “New order” email to the branch’s email address.
- The choice is remembered for 30 days (session and cookie, plus the customer’s account when logged in).
- If no branches exist, nothing is enforced.
- Compatible with WooCommerce High-Performance Order Storage (HPOS) and the cart and checkout blocks.
External services
This plugin does not connect to any external service and sends no data to third parties. The optional “Google Maps link” of a branch is a plain link that the shop owner enters. It is shown to customers and opens only when a customer clicks it. When clicked, Google’s Terms of Service and Privacy Policy apply.
Privacy
- Cookie:
branchsel_branchstores the ID of the chosen branch for 30 days. It contains no personal data. - Session and account: the chosen branch ID is stored in the WooCommerce session. For logged-in customers it is also stored in their user meta (
_branchsel_branch_id). - Orders: the branch’s name, address, phone, email and map link are saved with each order. This is business data, not customer data.
- Email: if enabled, a copy of the “New order” email (which contains the customer’s order details) is sent to the branch’s email address.
- No geolocation, IP logging, tracking or analytics.
The plugin adds suggested text to Settings > Privacy, and registers a personal data exporter and eraser for the branch saved on a customer’s account.
Screenshots







Installation
- Install and activate WooCommerce.
- Upload the
lexica-selector-branch-selection-for-woocommercefolder to/wp-content/plugins/, or install the plugin from the Plugins screen, then activate it. - Go to Branches > Add New and enter the name, address, city, phone, email, opening hours and map link of each branch.
- Adjust the options under WooCommerce > Settings > Products > Lexica Selector.
FAQ
-
Does it work with the block cart and checkout?
-
Yes. Branch selection is validated in both the classic and the block (Store API) cart and checkout.
-
What happens if I have no branches?
-
The plugin does nothing until at least one published branch is accepting orders.
-
Can I stop a branch taking orders temporarily?
-
Yes. Untick “Show this branch to customers” on the branch. Existing orders keep their branch.
-
Is any data deleted when I remove the plugin?
-
Only if you enable “Delete data on uninstall” in the settings. Branch details already saved on orders are always kept.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Lexica Selector – Branch Selection for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Lexica Selector – Branch Selection for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
- Prepared for WordPress.org: unique
branchsel_prefix for all options, meta keys, hooks, handles and the post type. Existing data from 1.0.0 is migrated automatically. - New
[branchsel_branch_selector]shortcode. The old[bakery_branch_selector]still works. - New “Delete data on uninstall” option.
- Privacy policy text, personal data exporter and eraser.
- Hardening: late escaping of all output, and a capability check when editing the branch on an order.
1.0.0
- Initial release.
