Home » Categories » Managed WordPress » WordPress E-Commerce

Set up geocoding for Local Pickup Plus

Step 4 of the Set up Local Pickup Plus series.

You can setup geocoding to allow for the pickup locations list to be sorted automatically in relation to the customer’s current location (using geoIP), which makes it easier for them to choose the best location. This is not required to use the plugin, but may be valuable for stores with multiple pickup locations. Also, please note that this will affect the order of the pickup locations on your end too. If you'd like to test if this feature is working as expected, you can use a VPN service or ask another user to take a look.

Required: Local Pickup Plus is a premium WooCommerce extension included with WordPress Ecommerce Hosting or as a standalone purchase.

Follow the steps below to setup geocoding:

  1. Go to the Google API Library.
  2. Select Select a Project > New Project.
  3. Enter your Project Name, Organization (if applicable), and Location.
  4. Select Create.
    Create new Google API Project
  5. Select your newly created project, then search for and select Geocoding API.
  6. Select Enable.
  7. Go to Credentials and select Create Credentials > API Key.
  8. Copy your newly created API Key and select Close. Do not select Restrict Key - this may cause Google to reject your geocoding requests from Local Pickup Plus. Your API Key will never be exposed to users on your site.
    Copy the created API key
  9. Now, go to the Local Pickup Plus settings, enter the copied key in the Google Maps Geocoding API Key field, and select Save Changes.

Once geocoding is enabled, your locations will be automatically geocoded (sorted based on the customer's current location). If a location can’t be automatically geocoded, you can manually enter coordinates when editing the location

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
Related Articles
What is WooCommerce Subscriptions?
Added on Mon, May 10, 2021
Get Started! Set up Intuit Payments plugin for WooCommerce
Added on Wed, May 12, 2021
Create a Pickup Location
Added on Wed, May 12, 2021
Manually redeem a voucher
Added on Wed, May 12, 2021
Create Digital Downloadable Products
Added on Mon, May 10, 2021