1. Home
  2. Order Delivery Date Pro for WooCommerce
  3. Pickup Locations
  4. How can I sort the pickup locations based on Customer Distance?

How can I sort the pickup locations based on Customer Distance?

Boost Your Customers’ Experience with Sorted Pickup Locations!

We are excited to announce the release of a highly requested feature in Order Delivery Date Pro for WooCommerce: the ability to customize the order of pickup locations! With this new functionality, store admins can now set the order in which available pickup locations appear for selection on the frontend, making it easier for customers to find their preferred location.

First, let’s create the pickup location, go to Order Delivery Date >> Settings >> Pickup Locations and create the pickup locations as many as you have.

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

Below are the three sorting options available and how to configure them:

1. Default (Order in which the pickup locations are added)

Default is the setting that displays pickup locations in the order they were originally added to the system. This is useful if the order of creation is preferred, such as when the locations were added in a priority sequence or based on business relevance.

Select “Default” from the “Pickup Location Sort Order” dropdown menu.

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation
Pickup locations will be displayed on the Checkout page in the order they were added to your system.

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

2. Distance from customer

Distance from Customer sorts pickup locations based on their proximity to the customer’s address. This option is ideal for ensuring that customers see the nearest pickup locations first, enhancing convenience and reducing travel time.

Configuration Steps:

Step 1: Obtain a Google Maps Geocoding API:

1. Sign in to the Google API Library.
2. Create a new project by selecting New Project and providing the necessary details (Project Name, Organization, Location).

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

3. After creating the project, search for “Geocoding API” and enable it.
4. Navigate to Keys & Credentials, then click Create Credentials > API Key.
How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

The API key created dialog displays your newly created API key.

5. Copy your newly generated API Key and click Close.

 

Step 2: Configure the plugin settings:

First, select “Distance from customer” from the “Pickup Location Sort Order” dropdown menu.
How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

A new field, “Google Maps Geocoding API Key,” will appear. Paste the API key you created into this field and save your changes.

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

On the Checkout page, pickup locations will be listed based on their distance from the customer’s billing address.

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

3. Alphabetical by location name

This option sorts pickup locations in alphabetical order by location name. This option is useful for organizing locations in a straightforward, easily navigable manner.

Select “Alphabetically” from the “Pickup Location Sort Order” dropdown menu & Save the changes.

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

Pickup locations will be presented in alphabetical order on the Checkout page.

How can I sort the pickup locations based on Customer Distance? - Tyche Softwares Documentation

The “Pickup Location Sort Order” feature in Order Delivery Date Pro for WooCommerce allows you to customize how pickup locations are displayed, enhancing the customer experience. Whether sorting by creation order, proximity, or alphabetically, these options help your customers quickly find their preferred pickup location, improving satisfaction and streamlining the checkout process.

 

Was this article helpful to you? Yes No

How can we help?