Location Picker at Checkout & Google Address AutoFill for WooCommerce

Description

Do you run a WooCommerce store where you need more detailed location information from a customer? If so, then why not let them choose their exact location on Google Maps?

Location Picker At Checkout for WooCommerce(LPAC) allows store owners to add more flexibility to their WooCommerce store by letting their customers choose exactly where they’d like their product(s) delivered.

This plugin is excellent for stores with delivery personnel that ship products to customers within a moderate geographical area. It can also work for websites which offer Pickup services such as Private Taxi websites.

Location Picker At Checkout for WooCommerce(LPAC) enables store owners to get more precise location details without having to contact customers via other means for location information or directions. With this plugin, lots of time can be saved by allowing customers to select their exact location on Google Maps at checkout with WooCommerce.

How Can Location Picker At Checkout for WooCommerce Help Me?

LPAC is a Checkout Location Picker plugin for WooCommerce that is suitable for any website that offers Delivery or Pickups for their customers. A Delivery website example would be an online restaurant, a Pickup website example would be a private taxi website. The plugin adds a Google map on the WooCommerce checkout page that customers can use to select their desired location. Alternatively, the plugin can be set up to also allow it to automatically detect the customer’s location on checkout page load and allow them to make any corrections.

The plugin makes use of the Google Maps API to carry out it’s functions; it can work as any of the following:

WooCommerce Checkout Map Plugin

This plugin adds a Google Map to the checkout page of WooCommerce which customers can use to select their location whether for deliveries or pickups.

WooCommerce Billing & Shipping Address AutoFill Plugin

LPAC can work as a checkout address autofill for WooCommerce making it a full-featured autocomplete address and location picker for WooCommerce plugin. It can automatically fill in the WooCommerce checkout fields with the information pulled from the Google map or from the Google Places API. Save users some typing while pulling accurate address information.

WooCommerce Shipping Zones (Regions) by Drawing Plugin

LPAC comes with a PREMIUM Shipping Zones by Drawing feature for WooCommerce which lets store owners draw custom shipping regions. Drawn shipping regions can have a name, price and background color. It’s also possible to display the shipping regions on the checkout page’s google map so customers can see the cost for shipping to different regions.

During checkout, if a customer location falls within a shipping region, the cost set for that shipping region will automatically be set as the shipping fee for the customer.

Create as many shipping zones and draw as many shipping regions as you like. LPAC will automatically set the cost of the shipping method once a customer falls within those drawn regions.

Optionally, set LPAC to only allow customers to place an order if their geolocation falls within shipping zones/regions that you draw.

WooCommerce Shipping Cost by Distance Plugin

LPAC is a robust WooCommerce checkout location picker plugin that also allows you to calculate the shipping cost for a customer’s order based on how far away that customer is from your location. Simply set the cost per Kilometer or Mile and let LPAC do the rest.

Optionally, set LPAC to only allow customers to place an order if their geolocation falls within a maximum distance that you have set for shipping.

WooCommerce Shipping Cost by Store Plugin

Does your store have multiple locations(branches, pickup spots) ? Great! Set the cost for each of your store locations and let customers select which one they’d like their order to originate from. The shipping price will update based on the store location selected.

WooCommerce Restaurant & Food Delivery Plugin

LPAC is excellent for online restaurants or food delivery websites that deliver customer orders after they have been placed. You can also create mulitple store locations that customers can select from at checkout if you business has multiple branches!

WooCommerce Pickup Plugin

If you ran a website where customers select their location for pickup then Location Picker at Checkout for WooCommerce(LPAC) would be a suitable plugin for your website.

WooCommerce Autocomplete/Autofill Checkout Address Plugin

Though the primary focus of the plugin is to allow customers to select accurate locations by using a map. Location Picker at Checkout for WooCommerce also allows store owners to enable the Places autocomplete feature on their checkout address fields. This feature shows customers address predictions as they type in their address. When a customer clicks the desired address from the dropdown, it can also automatically fill in the rest of the checkout fields. This feature is also known as Google Address Autofill.

Saved Addresses for WooCommerce Plugin

Allow customers to save multiple different addresses to their account that they can select from when placing an order. This feature is useful for customers who might be placing orders on your store from multiple locations.

A customer placing an order might not always be at the previously used address, with this feature they can select any previously saved address such as “Work”, “Home”, “Grandma’s” etc. Think of it as an address book for WooCommerce.

WooCommerce Custom Shipping Zones Plugin

The PRO version of LPAC allows you to create custom shipping zones by drawing them on a Google Map. These Zones can each have their own shipping cost and you can additionally prevent customers from checking out if they do not fall in any of the custom shipping zones.

WooCommerce Delivery Area Plugin

LPAC comes with multiple features to fine tune where you deliver to and how much you wish to charge. These include features such as “Cost by Distance”, “Cost by Region”, “Cost by Store Distance”, Maximum shipping distance, as well as Cost by Store.

Below are a few types of stores that would benefit tremendously from this plugin:

  • Online Food Delivery websites
  • Online Supermarkets
  • Online Furniture websites
  • Restaurants offering delivery via their website
  • Hardware Rental & Delivery websites
  • Car Rental websites
  • Pickup service websites
  • Taxi and pickup scheduling websites
  • And more

Free Features:

  • Detect current location of customer at checkout (Automatically or on click of a button)
  • Allow customers to pick their exact location using Google Maps
  • Autofill checkout fields with information pulled from Google Maps
  • Store Location Selector – Create multiple store locations and allow customers to choose the one they’d like to order from.
  • Show/Hide Map based on Shipping Method
  • Show/Hide Map based on Shipping Class
  • Show Map based on Coupon Code
  • Hide Map for Guest Checkout
  • Include a QR Code, Static Map or Button link to the customer’s selected location in the WooCommerce order emails.
  • “View on map” button to allow admin to view exact location for delivery of any order.
  • Customers can see the delivery location they selected on past orders.
  • Option to turn on Places Autocomplete(Google Autofill) feature. Learn More
  • Customizable Map container
  • Automatically translated map buttons based on the website’s language (set in WordPress’ general settings)

Premium Features:

  • Custom Google Maps designs
  • Custom Marker Icons
  • Export Order Locations
  • Plot Orders on a map – See where your orders are coming from and determine your most popular order locations
  • Multiple Customer Saved Addresses
  • Shipping Cost by Region
  • Shipping Cost by Distance
  • Shipping Cost by Store Location
  • Shipping Cost by Store Location Distance
  • Multi-store distance pricing – Set the cost by distanced based on the origin store the customer selected.
  • Show/Hide Map based on Shipping Zone
  • Hide Map until a minimum cart total is reached
  • Hide Map when a maximum cart total is reached
  • More Map Visibility Rules
  • Restrict Places Autocomplete feature to selected countries
  • And More

Have a feature in mind? Feel free to submit it on the support forum.

LPAC has support for the following custom checkout page plugins:

  • WooFunnels Funnel Builder Plugin for WordPress
  • Fluid Checkout for WooCommerce
  • Online Ordering System For Restaurants & Local Retail by Orderable
  • CheckoutWC custom checkout plugin

Location Picker at Checkout is the last WooCommerce checkout map plugin you’ll need.

Configuring Plugin:

  • The plugin settings are located in WordPress Admin Dashboard->WooCommerce->Location Picker At Checkout tab.

Plugin Documentation

  • You can find the plugin documentation Here >>>

Feature Requests

  • If you have any feature requests in mind then please submit them Here >>>

Shortcodes

  • [lpac-store-selector] – Adds a store selector dropdown that lets user’s choose their preferred store to order from.

Translating

  • Translators are welcome! Please consider translating to your language Here >>>

Misc

This plugin is free software, and the most important features have been kept free and open to use so that all can benefit. If you like the plugin and believe that it’s helped grow your business, then please consider leaving a review.

Screenshots

  • Plugin Settings Dashboard
  • Map Visibility Rules Dashboard
  • Checkout Page Map View (Before customer clicks "Detect Current Location" button)
  • Checkout Page Map View (After customer clicks "Detect Current Location" button and selects their location)
  • Order Received Page with Map
  • View Order Page (Past Order) with Map
  • Map view of the customer delivery location on shop order page (in the WordPress dashboard)
  • Delivery location button inside email (goes to customer selected location when clicked)
  • Delivery location QR Code inside email (goes to customer selected location when scanned)
  • Custom map and custom map marker (PRO)
  • Multiple saved addresses feature for customers (PRO)
  • Shipping Cost by Region (aka Shipping Zones by Drawing) feature (PRO)
  • Shipping Cost applied to custom shipping method for a previously drawn shipping region (PRO)
  • Shipping Cost by Store Location (PRO)
  • Shipping Cost by Store Distance (PRO)

Installation

  1. Extract the downloaded zip file and upload the location-picker-at-checkout-for-woocommerce folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin in WooCommerce->Settings->Location Picker At Checkout

Alternatively, install this plugin by searching for it from the plugins area of your WordPress website.

FAQ

The map doesn’t show

Ensure that you have setup the plugin with your API key by going to WordPress Dashboard->WooCommerce->Location Picker At Checkout. See this doc for getting your API key. If you’ve entered your API key and the map still doesn’t show, then please have a look at your browser console for any errors relating to the map, you can submit an issue thread on the plugin’s support forum

Nothing happens when I click on the map

These sorts of issues are usually due to a JavaScript issue on the website. Check your browser console for any errors that might point to the cause. Feel free to post those errors in the support forum and include a full screenshot of your browser console.

Map says “For development purposes only”

This message shows when you have not finished setting up the map correctly inside the Google Cloud Console. Please make sure you’ve followed all the steps from the setup guide including the “Setting up Billing & Google Monthly Credit” section.

Do I need to pay to use this plugin?

No! The plugin is free to use. The Google Maps APIs it uses, however, do require you to setup an account on Google’s Cloud Console. The process is easy and requires you also attaching a billing method to your account. Google provides a $200 monthly credit for usage of their APIs so you don’t have to worry about paying anything unless you receive alot of orders on your store (upwards of 15,000 orders in a month). See this step in the setup guide for more details about how this works.

Why are the plugin settings not in my language?

If the plugin settings are not in your language then it means translations for your language do not currently exist for the plugin. You are more than welcome to help translate the plugin into your language here

This plugin doesn’t have all the features I want, what do I do?

Post it on the support forum of the plugin.

Reviews

شتنبر 22, 2022
I had an issue integrating this to my webshop, contacted dev and got fast response. He/she connected to my site and fixed the issue within hours. Very admirable considering I am using free version. Highly recommended plugin so far. Good job devs and hope you guys don't spoil 🙂 hi from Croatia Baranja
شتنبر 16, 2022
Simply the best location picker plugin. The free version is complete and the Pro version is even better and not very expensive to go further. The support is excellent and fast. Continue like that ! Thank you for your work !
شتنبر 5, 2022
I was looking for a wp plugin that can calculate cost for customers from store to their doorsteps and my client has multiple store locations in a region. I was able to do this with LPAC. I also timely support from lpac team. I really appreciate Uriahs for his help in setting up and helping me all the way. The plug-in is working perfectly now and my client is super excited. Customers can select where they want their goods to ship from, I mean store location closer to them as to reduce delivery cost. And those that want to pick up locally can locate the store easily. Thanks a lot LPAC
غشت 7, 2022
Probably the most feature-packed google map plugin ever. Also the only free Google Places Autocomplete solution in the WP repository that's compatible with Fluid Checkout (and many other custom checkouts plugins). The latter offers such feature only in their premium subscription, you get here at no cost!
Read all 34 reviews

Contributors & Developers

“Location Picker at Checkout & Google Address AutoFill for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Location Picker at Checkout & Google Address AutoFill for WooCommerce” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Location Picker at Checkout & Google Address AutoFill 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.6.7

  • [Fix] Map was not centering on previous order’s pin location for customized checkout pages that removed the default address fields.
  • [Dev] Changed minimum required PHP version to 7.4.

1.6.6

  • [New PRO] Cost by Distance Range feature. Learn more
  • [Fix PRO] Store location selector was not showing in checkout page when option is enabled in Store locations area and cost by distance was enabled.
  • [Fix] JS Console error for Guest customers.
  • [Fix] Cart was not updating when filter to disable checkout fields autofilling was set to true.
  • [Improvement] Allow setting of location on map manually if customer denied website access to their location.
  • [Improvement] Add 3 new columns to order page view: Location, Store and Distance. They can all be turned off via the screen options on the order list page.
  • [Improvement] Changed a few text strings.
  • [Improvement] Don’t output the google map on the checkout page if an API key hasn’t been entered.

1.6.5

  • [Fix PRO] Issue with saving PRO shipping settings.

1.6.4

  • [Fix PRO] Saved Addresses features were showing for guest customers.
  • [New] Store Location Selector shortcode [lpac-store-selector] Add shortcode anywhere to allow users to set their preferred store to order from.
  • [New] Feature Requests: Do you have a feature in mind for LPAC? Submit it or vote on others here.
  • [Fix] Duplicate validation errors for store location feature.
  • [Fix] Wrong order of filtering shipping method HTML when required conditions aren’t met.
  • [Improvement] Made some repeater fields required.
  • [Dev] New filter to prevent map from filling out checkout fields lpac_fill_checkout_fields.
  • [Info] Tested on WC 6.9 RC1

1.6.3

  • [New PRO] Option to append cost per unit and measure unit (e.g $0.50/km) at the end of the shipping method when using the Cost by Distance feature.
  • [Fix PRO] Cost by Store Distance checkout validation was still running even though feature was turned off.
  • [Fix PRO] Kilometer distance was being cast as an integer instead of a float which would cause slightly off conversions when converting Kilometer to Miles for Cost by Distance feature.
  • [Fix] Store Location selector was still being moved below shipping address in some cases even when map was being shown on checkout.
  • [Fix] Wrong checkout validation error would show even when Store Location feature was not in use.
  • [Dev] It is no longer possible to filter the entire checkout page’s map markup. Action Hooks have instead been added at different points of the map’s markup. Learn more.
  • [Info] Tested on WC 6.8
  • [Info] Added a few initial admin pointers to help a bit with onboarding.

1.6.2

  • [New] Option to show selected store location in order emails.
  • [New] New address field when creating Store Locations.
  • [Fix] JS error when Store Location selector is not present on checkout page.
  • [Fix] Store Location selector was always being moved below shipping address even when map was being shown on checkout.
  • [Fix] Store Location checkout validation was not being enforced in the free version of the plugin.
  • [Fix] Default Store Location selector would not display on checkout page unless “Cost by Store Distance” feature was explicitly disabled.
  • [Fix] Prevent plugin from trying to redirect to its settings if WooCommerce is not active.
  • [Compatibility] Support for CheckoutWC – WooCommerce custom checkout plugin.

1.6.1

  • [Fix] Migration error for old store location settings to new store location feature.

1.6.0

  • [New PRO] Cost by Store Distance – Set order shipping price based on the customer’s distance relative to your store location.
  • [New PRO] Cost by Store Location – Set order shipping price based on the store that the customer selects at checkout.
  • [New PRO] Free for X distance – If a customer’s distance is less than the value you set (X), then that customer receives free shipping.
  • [New PRO] A map has been added to the Export submenu in LPAC’s settings to show past order locations based on the date range selected.
  • [Improvement] Store locations settings have been improved and moved to their own submenu in LPAC settings.
  • [Improvement] The “missing API key” notice displayed to admins on the checkout page is now more prominent.
  • [Compatibility] Fix duplicate and missing LPAC fields in WooFunnels custom checkout page.
  • [Info] Support for Orderable plugin
  • [Info] Tested on WC 6.7
  • [Info] Various other bugs fixes

1.5.7

  • [New] Store location feature – display map markers for your store locations on the checkout page map.
  • [Improvement] Add sample export in lite version of plugin.
  • [Improvement] Add customer email to order export feature.
  • [Improvement] Make checkout alert messages translatable.
  • [Info] Tested on WC 6.6

1.5.6

  • [Fix] Plugin main file name change caused plugin to automatically deactivate after updating. Please reactivate plugin after this update.

1.5.5

  • [Fix PRO] On some websites the checkout update event was not always firing after the location is changed. LPAC will now automatically fire a checkout update event everytime locations are changed.
  • [Info] Tested on WC 6.5
  • [Info] Tested on WP 6.0 RC3

1.5.4

  • [Fix PRO] Saved Addresses checkbox was always showing on checkout page even though option was turned off.
  • [Fix PRO] Session GPS Coordinates were not always updating when using Saved Addresses feature.
  • [Improvement] Allow places autocomplete feature to work for billing fields when checkout defaults to billing same as shipping.
  • [Improvement] Handle map and fields updating based on Shipping Options set in WooCommerce and “Ship to different address” checkbox status.
  • [Change] GPS Coordinates lpac_latitude & lpac_longitude are no longer stored as private meta items. They’re now public.
  • [Compatibility] Add AutoComplete support for Fluid Checkout plugin.

1.5.3

  • [Fix PRO] Customers would always receive a shipping error when trying to place an order if “Ship Only to Drawn Regions” or “Limit Shipping Distance” feature was enabled.
  • [Fix PRO] Saved address details on map would show ‘undefined’ if shipping_address_1 field was not present in object.
  • [Fix PRO] Saved Addresses feature would always save customer billing address even when shipping address details were available.
  • [Compatibility] Support added for Fluid Checkout for WooCommerce plugin’s custom checkout page.

1.5.2

  • [New PRO] Feature to prevent shipping to customers who’s location do not fall inside your drawn shipping regions. Learn More
  • [New PRO] Feature to prevent shipping to customers who’s location is beyond your maximum set shipping distance. Learn More
  • [Fix PRO] Last order location was not showing on the map.
  • [Change] Edit some doc links in plugin settings to match changes on docs site.

1.5.1

  • [Change] Rearranged some plugin options on LPAC’s settings page.

1.5.0

  • [New PRO] Create Shipping Regions by drawing them! Set custom price and name for regions that you ship to. The shipping method cost will automatically update if a customer falls within a region you’ve created.
  • [Fix] Various script errors that appeared in admin javascript console when not on LPAC settings pages.
  • [Fix] The hide map for guests visibility logic was returning the wrong value.
  • [Change] Rearranged some plugin options on LPAC’s settings page.

1.4.6

  • [Fix PRO] Shipping Cost by Distance feature was only taking effect if Save Customer Addresses feature was turned on.

1.4.5

  • [Fix] The frontend maps required base script file would on some websites not be enqueued in time to be used as a handle for wp_add_inline_script() function . Fallback to Jquery core script handle in those cases.
  • [Change] Set minimum required PHP version to 7.3

1.4.4

  • [Fix] Error caused when dismissed notices returns a string.
  • [Info] Tested on WP 5.9

1.4.3

  • [New PRO] Option to change the type of results returned by the Places Autocomplete API (Geocode, Address, Establishment, Regions, Cities)
  • [Fix] Console error when Billing City field was not present on checkout page.
  • [Fix] Coordinates for Places Autocomplete feature were not saving when “Hide Map When Using Places Autocomplete” option was enabled.
  • [Info] Tested on WC 6.0

1.4.2

  • [Fix] Checkout process would halt unless a location was selected by a customer regardless of “Force Map use” option status.

1.4.1

  • [New PRO] Export Order Locations.
  • [New PRO] Custom Google Map Designs.
  • [New PRO] Custom Google Map Marker Icon.
  • [New PRO] Customer Saved Addresses.
  • [New PRO] Restrict Places Autocomplete to a specific country.
  • [New PRO] Shipping cost by distance.
  • [New] PRO version has been released! Dummy PRO options can be seen in the LPAC settings.
  • [Fix] Coordinates were not being retrieved when only “Billing Address 1” was selected for the Places Autocomplete field.

1.4.0

  • [Change] BREAKING CHANGE: The save location of QR codes created for orders have been changed. Links to QR codes in past order emails will stop working after updating, but QR codes in new orders will work fine.
  • [New] Added a new Static Map option to the list of link types that can be added to customer emails. (QR Code, Button, Static Map)
  • [New] Added “Processing Order” email option to the list of emails the map link can be added to.
  • [Dev] Reduced plugin size by removing dedicated font files for Qr codes.
  • [Info] Static Maps require enabling of an extra Google Map API endpoint. Please see here for instructions.

1.3.5

  • [New] Added Places Autocomplete feature Learn More.
  • [New] New option in General Settings to allow plugin to immediately request the customer location on checkout page load. Learn More.
  • [Info] Tested on WC 5.9.

1.3.4

  • [New] Get the customer’s last order location and display it on the map at checkout.
  • [New] Option to remove Plus Code from Google Map addresses.
  • [Fix] Periods were being stripped from default coordinates input boxes.
  • [Fix] Wrong text domain for some text strings.
  • [Fix] Blank infowindow was showing on order maps when shipping address was not present.
  • [Info] Plugin has an Official Website.

1.3.3

  • [New] Added support for WooFunnels’ custom checkout pages.
  • [New] Added a Map Visibility rules table to allow store owners to set the sequence they’d like rules to be ran.
  • [New] Rule to show map based on coupon code.
  • [New] Rule to hide map for guest orders.
  • [Fix] Plugin would still try to run even though WooCommerce was inactive.
  • [Improvement] Map display rules now use Ajax to determine whether or not to show the map.
  • [Improvement] Added a new submenu tab called “Visibility Rules” which houses settings that control when the map is hidden/shown on the checkout page.
  • [Info] Tested on WC 5.8.

1.3.2

  • [Fix] Location button and QR code in emails were sometimes not centered.
  • [Improvement] Added more support for older browsers.
  • [Improvement] Show info window inside map on order-received, view-order, and dashboard view-order pages.
  • [Dev] Two new filters for the delivery location button that appear in emails: lpac_email_btn_p_styles and lpac_email_btn_a_styles.

1.3.1

  • [Fix] Missing class error.

1.3.0

  • [Improvement] Code quality changes to plugin.

1.2.2

  • [New] Added a new option in settings to hide the map based on the chosen shipping method.
  • [Improvement] Better plugin settings arrangement.
  • [Info] Tested on WC 5.7.

1.2.1

  • [Improvement] Better assign coordinates input fields variables on checkout page.

1.2.0

  • [New] Show or Hide map based on the shipping classes of items in the customer’s cart.
  • [Fix] Console error when the map was not enabled in Settings.
  • [Improvement] Added coordinates fields to billing section of checkout page for better support of sites with custom checkout pages.
  • [Improvement] More checks for better handling of sites with custom checkout pages.
  • [Change] Minimum required PHP version is now 7.0. Please update your PHP version if you have not yet done so; contact your Web Host for assistance if needed.
  • [Dev] Added a new filter for “Detect Current Location” Button text: lpac_find_location_btn_text.
  • [Dev] Filter for map instruction text is: lpac_map_instuctions_text.
  • [Info] Tested on WP 5.8.
  • [Info] Tested on WC 5.6.

1.1.3

  • [Improvement] Better handle sites with customized checkout pages.
  • [Fix] Console error when the plugin map is not enabled.

1.1.2

  • [New] Option added to allow admin to force customers to select their location on the map before being able to complete the order.
  • [New] Customers can now move the map marker by clicking on the map. This was only possibly by dragging the map marker before.
  • [New] A map view of the customer’s location will now appear on the shop order page in WooCommerce->Orders->View.
  • [Improvement] Refactored code that handles the checkout page map.
  • [Change] Order emails multiselect option now uses selectWoo.
  • [Info] Added links to support forum and plugin translation pages to the plugin settings page.

1.1.1

  • [Fix] Plugin now works with customized checkout fields.
  • [Info] Plugin can better parse and fill in State/County checkout fields

1.1.0

  • [New] Option to add a button link or QR Code to the customer’s map location in WooCommerce’s emails.
  • [New] Option to disable map on checkout and order details pages without disabling the plugin.
  • [Fix] Customers were able to complete checkout without selecting a location on the map.
  • [Change] Moved plugin settings to it’s own tab in the WooCommerce Settings.
  • [Info] Show admin notice if WooCommerce is not active or the site is not running HTTPS.
  • [Info] Added admin notices if WooCommerce not active or site not running HTTPS.
  • [Info] Tested on WC 5.4.

1.0.1

  • [New] Automatically fill in address fields with information pulled from Google Maps.
  • [Improvement] Error handling of invalid locations.
  • [Improvement] Show users a message if they denied the website access to their location.
  • [Improvement] Handle cases where customer is moving marker too quickly within a short period of time.
  • [Improvement] Better handling of cases where geolocation feature is not available for the browser.

1.0.0

  • Intial Release