Managed WordPress Ecommerce Help

Set up geocoding for Local Pickup Plus

Step 5 of the Set up Local Pickup Plus series.

GeoIP shows your customers different pick-up locations based on their location if they want to pick up their order. The convenience of picking up their items at different locations makes it easier for them. Having multiple pickup locations is not necessary, but may be extremely helpful for companies with multiple pickup locations.

Note: This will affect the order of pickup locations on your end. This feature should work as expected if you use a VPN service or ask another user.

Setup and Configuration

If you're wanting to set up Geocoding, please follow the steps below.

Obtain a Google API key

  1. Sign in to the Google API Library.
  2. Go to Select a Project and click on New Project.
  3. Enter the following:
    • Project Name
    • Organization (if applicable)
    • Location
  4. Click on Create.
  5. Select your new project and use the search bar to find and select Geocoding API.
  6. Select Enable.
  7. Go to Credentials, click on Create Credentials and select API Key.
  8. Copy your new API Key and click on Close.
    Note: Don't select Restrict Key – Doing so can cause your geocoding requests to be rejected by Google. Your API Key will never be exposed to users on your site.

Configure Local Pickup Plus settings

  1. Sign into WordPress.
  2. Go to WooCommerce and select Settings.
  3. Select the Shipping tab and click on Local Pickup Plus.
  4. Enter the API key you created into the Google Maps Geocoding API Key field.
  5. Click Save Changes.

With geocoding now enabled, your customers will see pickup locations automatically sorted based on their current location.

More info