Buy Here For WooCommerce is a free WordPress plugin that allows you to associate Store Locator Plus locations with WooCommerce products. When customers search for physical locations they will see a list of products offered at that location.
This document describes the initial installation and setup for Buy Here For WooCommerce.
Install The Required Plugins
Login to your WordPress site and go to the Plugins / Add New screen.
Search for “Store Locator Plus” from the WordPress Plugin Directory. Install and activate that plugin.
Search for “WooCommerce” from the WordPress Plugin Directory. Install and activate that plugin.
Search for “Buy Here For WooCommerce” from the WordPress Plugin Directory. Install and activate that plugin.
Note: Buy Here For WooCommerce requires Store Locator Plus 4.4.18 or higher and WooCommerce 2.4.10 or higher. If either are not installed or are not activated the Buy Here For WooCommerce plugin will not activate.
Note: While this plugin is being reviewed by the WordPress Plugin team it can be “purchased” at not cost from the Store Locator Plus store.
From your WordPress admin login go to Store Locator Plus, go to the Locations tab and Add Locations.
From your WordPress admin login go to WooCommerce Products and Add Products.
Connect Locations To Products
While adding a new product, click the Locations panel in the Product Data section.
Start typing the name of a location or the postal/zip code. When you type the 3rd letter a list of Store Locator Plus locations that match your search will appear. Select a location that you wish to have associated why the product.
Create A Locations Page
Go to Pages and add a new page. On that page put the [slplus] shortcode.
Open that page to see your location search form, map, and list of locations.
Locations that have product data associated with it will show the product data under the details column on the right side of the location listing.
There are a lot of add ons available for WooCommerce and Store Locator Plus to tailor the user experience to meet your needs. For Store Locator Plus you may want to start with the Experience add on to customize the look-and-feel of the location listing results.