1. Home
  2. Docs
  3. Getting Started
  4. Plugin Settings
  5. General Settings

General Settings

Enabled

This option enables or disables the plugin. You can use this option to test out something on your website without actually deactivating the plugin.

Google Maps API Key

Enter the Google Maps API key so that the plugin can work as expect. The map will not show unless you have entered the API key. Read this doc for details on retrieving your API key.

Detect Customer Location on Checkout Page Load

Enabling this option will cause Location Picker at Checkout for WooCommerce(LPAC) to immediately try to detect the customer’s location when the checkout page loads. Customers who haven’t used the checkout map on your store and given the website permission to detect their location, will receive the prompt asking them to allow your website to access their location:

Do note that privacy conscious users might decide to Block location access before knowing why you’re requesting it from them. This is why it’s best to let the customer consciously click the Detect Current Location button.

Once a customer clicks Allow then the prompt will not show again unless they clear cookies or visit the website in Incognito mode.

Force Use of Map

Use this option if you want customers to always make use of the Google Map before completing checkout. If this option is turned on and a customer tries to checkout without selecting their location on the map then the below notice will be shown:

Default Coordinates

This option allows you to set the default view of the map. You can enter the coordinates for your city/country here if you want the map to always show your country when it loads.

Default Zoom

This option allows you to set the zoom level of the default map view. It works hand in hand with the Default Coordinates option.

Enable Clickable Icons

By default the places icons on the map are not clickable as there’s no reason for them to be. This option, however, allows you to give customers the ability to click on the places icons.

Remove Plus Code From Address

Remove the plus code from the address. Plus codes are automatically sent back by the Google Maps API. If you check this option the plugin will attempt to strip it from the returned address. The plus code in the example below is VW4R+H3F Turning on the option would change the text to Palmiste, St Lucia.

Autofill Billing fields

By default, when a customer selects their location on the Google map, it will fill in the shipping fields with their details, however, the billing fields remain untouched since a user’s billing details might be different from their shipping details. If you want the billing fields to also be automatically filled in then turn on this option, but note that if a customer billing address does not match what their bank has on record then their transaction might fail.

Show Map on the Order Received Page

This option displays a map view of the shipping location on the Order Received page after a customer has placed an order:

Show Map on View Order Page

This option allows customers to see the location of their past orders from the Orders tab in the account area:

Add Map Link to Order Emails

Use this option to add a link in the form of a barcode, button or Static Google Map to the emails that Admins and Customers receive when an order has been placed. The Link Type, Link Location and Select Emails option all work together with this option.

NOTE

Setting the Static Google Map option requires enabling of a separate Google Maps API endpoint for this option to work. Please read this doc for instructions on enabling it.

Button:


QR Code:

Static Map:

Places Autocomplete Feature

Please read more about these settings here.

Housekeeping

Check this option if you want the plugin to delete all it’s settings stored in the database if you remove the plan from your website.

Was this article helpful to you? Yes No