{"id":412884,"date":"2026-11-27T14:04:21","date_gmt":"2026-11-27T14:04:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lexica-selector-branch-selection-for-woocommerce\/"},"modified":"2026-11-27T14:03:52","modified_gmt":"2026-11-27T14:03:52","slug":"lexica-selector-branch-selection-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/lexica-selector-branch-selection-for-woocommerce\/","author":23576139,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.1.5","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Lexica Selector \u2013 Branch Selection for WooCommerce","header_author":"Deeplexica","header_description":"Customers must choose a branch before adding products to the cart. The selected branch (name, address, phone, map) is saved with the order and shown in admin, emails and the customer account.","last_updated":"2026-11-27 14:03:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":29,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"deeplexica","date":"2026-11-27 14:03:52","revision":3829746}},"upgrade_notice":{"1.1.0":"<p>Settings and branch data are renamed to a new prefix and migrated automatically. Customers will need to choose their branch once more.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3829746,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3829746,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3829746,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3829746,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3829746,"resolution":"1","location":"assets","locale":"","width":1280,"height":860},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3829746,"resolution":"2","location":"assets","locale":"","width":1280,"height":860},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3829746,"resolution":"3","location":"assets","locale":"","width":778,"height":786},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3829746,"resolution":"4","location":"assets","locale":"","width":1280,"height":860},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3829746,"resolution":"5","location":"assets","locale":"","width":1280,"height":860},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3829746,"resolution":"6","location":"assets","locale":"","width":1280,"height":860},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3829746,"resolution":"7","location":"assets","locale":"","width":1280,"height":860}},"screenshots":{"1":"The branch picker opens when a customer clicks \"Add to cart\" before choosing a branch.","2":"The \"Ordering from\" bar on the cart page, with a button to change branch.","3":"The branch on the admin order screen. Staff can change it.","4":"Branch column and branch filter in the WooCommerce orders list.","5":"All branches in the admin.","6":"Editing a branch: address, phone, email, opening hours and map link.","7":"Settings under WooCommerce &gt; Settings &gt; Products &gt; Lexica Selector."}},"plugin_section":[],"plugin_tags":[31889,183895,16222,20710,6102],"plugin_category":[39],"plugin_contributors":[290500],"plugin_business_model":[],"class_list":["post-412884","plugin","type-plugin","status-publish","hentry","plugin_tags-branch","plugin_tags-multi-location","plugin_tags-pickup","plugin_tags-restaurant","plugin_tags-store-locator","plugin_category-business","plugin_contributors-deeplexica","plugin_committers-deeplexica"],"banners":{"banner":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/banner-772x250.png?rev=3829746","banner_2x":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/banner-1544x500.png?rev=3829746","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/icon-128x128.png?rev=3829746","icon_2x":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/icon-256x256.png?rev=3829746","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/screenshot-1.png?rev=3829746","caption":"The branch picker opens when a customer clicks \"Add to cart\" before choosing a branch."},{"src":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/screenshot-2.png?rev=3829746","caption":"The \"Ordering from\" bar on the cart page, with a button to change branch."},{"src":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/screenshot-3.png?rev=3829746","caption":"The branch on the admin order screen. Staff can change it."},{"src":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/screenshot-4.png?rev=3829746","caption":"Branch column and branch filter in the WooCommerce orders list."},{"src":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/screenshot-5.png?rev=3829746","caption":"All branches in the admin."},{"src":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/screenshot-6.png?rev=3829746","caption":"Editing a branch: address, phone, email, opening hours and map link."},{"src":"https:\/\/ps.w.org\/lexica-selector-branch-selection-for-woocommerce\/assets\/screenshot-7.png?rev=3829746","caption":"Settings under WooCommerce &gt; Settings &gt; Products &gt; Lexica Selector."}],"raw_content":"<!--section=description-->\n<p>Lexica Selector \u2013 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.<\/p>\n\n<p><strong>A lightweight alternative:<\/strong> 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.<\/p>\n\n<p><strong>Lexica Selector or BranchLex?<\/strong> Both plugins are made by the same author. <a href=\"https:\/\/wordpress.org\/plugins\/branchlex-multi-location-for-woocommerce\/\">BranchLex \u2013 Multi Location for WooCommerce<\/a> 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\u00e9s 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.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Until a branch is chosen, clicking \"Add to cart\" opens a branch picker. After the customer chooses, the product is added automatically.<\/li>\n<li>Optional popup on the first visit.<\/li>\n<li>An \"Ordering from: Branch (Change)\" bar on shop, product, cart and checkout pages, for both the classic and the block cart\/checkout.<\/li>\n<li>Shortcode <code>[branchsel_branch_selector]<\/code> shows the bar anywhere, for example in the header.<\/li>\n<li>Add to cart and checkout are blocked on the server until a valid branch is chosen (classic and block checkout).<\/li>\n<li>Each order stores a snapshot of the branch name, address, phone, email and map link.<\/li>\n<li>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.<\/li>\n<li>Optionally sends a copy of the \"New order\" email to the branch's email address.<\/li>\n<li>The choice is remembered for 30 days (session and cookie, plus the customer's account when logged in).<\/li>\n<li>If no branches exist, nothing is enforced.<\/li>\n<li>Compatible with WooCommerce High-Performance Order Storage (HPOS) and the cart and checkout blocks.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>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 <a href=\"https:\/\/policies.google.com\/terms\">Terms of Service<\/a> and <a href=\"https:\/\/policies.google.com\/privacy\">Privacy Policy<\/a> apply.<\/p>\n\n<h3>Privacy<\/h3>\n\n<ul>\n<li><strong>Cookie:<\/strong> <code>branchsel_branch<\/code> stores the ID of the chosen branch for 30 days. It contains no personal data.<\/li>\n<li><strong>Session and account:<\/strong> the chosen branch ID is stored in the WooCommerce session. For logged-in customers it is also stored in their user meta (<code>_branchsel_branch_id<\/code>).<\/li>\n<li><strong>Orders:<\/strong> the branch's name, address, phone, email and map link are saved with each order. This is business data, not customer data.<\/li>\n<li><strong>Email:<\/strong> if enabled, a copy of the \"New order\" email (which contains the customer's order details) is sent to the branch's email address.<\/li>\n<li>No geolocation, IP logging, tracking or analytics.<\/li>\n<\/ul>\n\n<p>The plugin adds suggested text to <strong>Settings &gt; Privacy<\/strong>, and registers a personal data exporter and eraser for the branch saved on a customer's account.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate WooCommerce.<\/li>\n<li>Upload the <code>lexica-selector-branch-selection-for-woocommerce<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the plugin from the Plugins screen, then activate it.<\/li>\n<li>Go to <strong>Branches &gt; Add New<\/strong> and enter the name, address, city, phone, email, opening hours and map link of each branch.<\/li>\n<li>Adjust the options under <strong>WooCommerce &gt; Settings &gt; Products &gt; Lexica Selector<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20the%20block%20cart%20and%20checkout%3F\"><h3>Does it work with the block cart and checkout?<\/h3><\/dt>\n<dd><p>Yes. Branch selection is validated in both the classic and the block (Store API) cart and checkout.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20have%20no%20branches%3F\"><h3>What happens if I have no branches?<\/h3><\/dt>\n<dd><p>The plugin does nothing until at least one published branch is accepting orders.<\/p><\/dd>\n<dt id=\"can%20i%20stop%20a%20branch%20taking%20orders%20temporarily%3F\"><h3>Can I stop a branch taking orders temporarily?<\/h3><\/dt>\n<dd><p>Yes. Untick \"Show this branch to customers\" on the branch. Existing orders keep their branch.<\/p><\/dd>\n<dt id=\"is%20any%20data%20deleted%20when%20i%20remove%20the%20plugin%3F\"><h3>Is any data deleted when I remove the plugin?<\/h3><\/dt>\n<dd><p>Only if you enable \"Delete data on uninstall\" in the settings. Branch details already saved on orders are always kept.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Prepared for WordPress.org: unique <code>branchsel_<\/code> prefix for all options, meta keys, hooks, handles and the post type. Existing data from 1.0.0 is migrated automatically.<\/li>\n<li>New <code>[branchsel_branch_selector]<\/code> shortcode. The old <code>[bakery_branch_selector]<\/code> still works.<\/li>\n<li>New \"Delete data on uninstall\" option.<\/li>\n<li>Privacy policy text, personal data exporter and eraser.<\/li>\n<li>Hardening: late escaping of all output, and a capability check when editing the branch on an order.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Let customers choose a branch before adding products to the cart, and save the branch with every order.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/412884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=412884"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/deeplexica"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=412884"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=412884"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=412884"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=412884"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=412884"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=412884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}