Location Share on Checkout by PrismaSell

Descripción

Location Share on Checkout by PrismaSell adds customer-approved geolocation to the WooCommerce checkout. Customers can select Share Current Location, approve the browser permission request, and attach browser-reported latitude, longitude, and accuracy to their order.

The plugin supports the WooCommerce Checkout Block and the classic [woocommerce_checkout] page. Store managers can open a server-generated Google Maps link from the WooCommerce order screen to help drivers find rural, incomplete, or hard-to-locate delivery addresses.

No Google Maps API key or external geolocation service is required. Coordinates are requested only after the customer selects the location button and grants browser permission.

WooCommerce location-sharing features

  • Customer-controlled browser geolocation at checkout.
  • WooCommerce Checkout Block and classic checkout support.
  • Google Maps links generated from validated order coordinates.
  • Stores latitude, longitude, and browser-reported accuracy.
  • Enable or disable location sharing from plugin settings.
  • Make location sharing optional or required.
  • Customize the section title, button label, and customer description.
  • Configure high-accuracy mode and a 5-to-60-second request timeout.
  • Choose the location field position on the classic checkout.
  • High-Performance Order Storage (HPOS) compatibility.
  • Responsive layout and accessible inline status messages.
  • WordPress personal-data export, erasure, and privacy-policy guidance.

How checkout location sharing works

  1. The customer selects Share Current Location during checkout.
  2. The browser asks the customer for location permission.
  3. When permission is granted, the browser returns coordinates and an accuracy value when available.
  4. The plugin validates the latitude and longitude before checkout is completed.
  5. Valid location data is stored as WooCommerce order metadata.
  6. An authorized store user can open a Google Maps link generated from the saved coordinates.

Shared coordinates supplement the billing or shipping address; they do not replace it or prove physical presence.

Useful for delivery workflows

Useful for local delivery, rural or hard-to-find addresses, courier routes, cash-on-delivery orders, scheduled delivery, and driver navigation.

Settings

Open PrismaSell > Location Sharing in the WordPress admin sidebar. The same options are available at WooCommerce > Settings > Location Share, and a Settings link is displayed on the Plugins screen.

Available options include:

  • Enable or disable location sharing.
  • Make a valid location optional or required.
  • Select the field position for the classic checkout.
  • Change the section title, button text, and customer-facing description.
  • Enable or disable high-accuracy browser requests.
  • Set the location request timeout.
  • View the detected WooCommerce checkout type.

Location sharing is enabled and optional by default.

Checkout compatibility

Version 1.2.1 supports:

  • WooCommerce Checkout Block through the official additional checkout fields API.
  • Classic checkout through standard WooCommerce checkout hooks.

On the Checkout Block, the location control appears in the Order information section. If that section was removed from a customized Checkout page, add the WooCommerce Order Information block back in the page editor.

Custom checkout plugins are not guaranteed to work. A custom checkout must preserve either the WooCommerce additional checkout fields integration or the classic checkout hooks used by this plugin.

Requirements

  • WordPress 6.5 or newer.
  • WooCommerce 8.9 or newer.
  • PHP 7.4 or newer.
  • An HTTPS checkout page. Browsers normally restrict geolocation on insecure pages.

Demo: https://locationshare.prismasell.com/product-category/perfumes/

Privacy

When a customer chooses to share a delivery location, the plugin stores browser-reported latitude, longitude, and accuracy with the WooCommerce order. The customer must approve the browser location request.

Merchants should explain why location data is collected, who can access it, how it is used, and how long it is retained. The plugin adds suggested privacy-policy text under Settings > Privacy and registers WordPress personal-data export and erasure callbacks.

The plugin does not contact Google during checkout. An authorized user may later open a generated Google Maps link from an order, which is then subject to Google’s privacy terms.

Capturas

Instalación

  1. Install WooCommerce 8.9 or newer.
  2. Upload the plugin ZIP through Plugins > Add New Plugin > Upload Plugin, or upload the location-share-on-checkout-by-prismasell folder to /wp-content/plugins/.
  3. Activate Location Share on Checkout by PrismaSell.
  4. Open PrismaSell > Location Sharing.
  5. Confirm that Enable location sharing is selected, configure the options, and save changes.
  6. Clear page, object, CDN, and JavaScript optimization caches.
  7. Test checkout over HTTPS on a staging site.

For the Checkout Block, confirm that the Checkout page contains the WooCommerce Order information block. For classic checkout, confirm that the page uses the [woocommerce_checkout] shortcode.

No API key is required.

FAQ

Where are the plugin settings?

Open PrismaSell > Location Sharing in the WordPress admin menu. The settings are also available at WooCommerce > Settings > Location Share.

Why is the location button not visible at checkout?

Confirm that the plugin and WooCommerce 8.9 or newer are active and that Enable location sharing is selected. Then clear page, object, CDN, and JavaScript optimization caches.

For the Checkout Block, edit the Checkout page and confirm that the Order information block is present. For classic checkout, confirm that the page contains [woocommerce_checkout]. A custom checkout plugin may bypass both supported integrations.

Does location sharing require HTTPS?

Yes. Modern browsers normally allow geolocation only in a secure context, so the checkout page should use HTTPS.

Does the plugin require a Google Maps API key?

No. The browser provides the coordinates after the customer grants permission. The plugin later generates a standard Google Maps link from the validated coordinates.

Does the plugin send coordinates to Google during checkout?

No. The browser supplies coordinates directly to the checkout page. Google receives the coordinates only when an authorized user opens the generated Google Maps link, which is then subject to Google’s terms and privacy practices.

Can a customer refuse location access?

Yes. The customer can deny the browser permission request. Location sharing is optional by default, although a store administrator can make it required in the plugin settings.

Is the reported location exact?

Not necessarily. Accuracy depends on the customer’s device, browser, network, satellite visibility, and surroundings. The plugin stores the browser-reported accuracy value when available. Coordinates can also be spoofed, so use them as delivery assistance rather than proof of physical presence.

Where is location data stored?

Validated latitude, longitude, and accuracy are stored as metadata on the WooCommerce order. The data follows the merchant’s order-retention practices unless it is removed through WordPress personal-data erasure or another administrative process.

Does it work with HPOS?

Yes. The plugin uses WooCommerce order objects to read and write order data and declares High-Performance Order Storage compatibility.

Does it work with custom checkout plugins?

Only when the custom checkout preserves the supported WooCommerce Checkout Block additional-fields API or the classic checkout hooks. Test compatibility with each checkout plugin and theme before using it in production.

Does it work on mobile devices?

It works with mobile browsers that support the Geolocation API and permit location access. The customer must grant permission, and device accuracy can vary.

Reseñas

14 de noviembre de 2024 1 respuesta
As a local service provider, we often faced challenges with pinpointing exact delivery locations in certain areas. After integrating the Location Share plugin, we can now capture precise customer locations effortlessly, directly accessible from the order page. This feature has significantly improved our delivery accuracy and efficiency. Highly recommended!
Leer la 1 reseña

Colaboradores y desarrolladores

«Location Share on Checkout by PrismaSell» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Registro de cambios

1.2.1

  • Added a PrismaSell top-level WordPress admin menu.
  • Added a Location Sharing submenu and standalone settings page.
  • Added secure settings saving and a direct Plugins-screen Settings link.
  • Preserved the WooCommerce settings tab for backward compatibility.

1.2.0

  • Added enable, required, label, position, accuracy, and timeout settings.
  • Added WooCommerce Checkout Block support.
  • Added checkout-type diagnostics.
  • Raised the minimum WooCommerce version to 8.9.

1.1.2

  • Improved WordPress Plugin Check compliance and input sanitization.
  • Removed development-only files from the production package.

1.1.1

  • Fixed false WooCommerce dependency errors on nonstandard installations.
  • Added runtime WooCommerce and minimum-version checks.

1.1.0

  • Added coordinate validation, server-generated Google Maps links, HPOS support, privacy tools, accessibility improvements, and legacy metadata support.

1.0.0

  • Initial release.