𝙎𝙩𝙤𝙥 𝙋𝙖𝙮𝙞𝙣𝙜 𝘾𝙤𝙢𝙢𝙞𝙨𝙨𝙞𝙤𝙣𝙨. 𝙎𝙩𝙖𝙧𝙩 𝙎𝙖𝙫𝙞𝙣𝙜 𝙈𝙤𝙧𝙚 𝙁𝙧𝙤𝙢 𝙊𝙧𝙙𝙚𝙧𝙨.

FLAT 50% OFF →
X

How to Work Address-Based Delivery Availability Checking in RestroFood?

How to Work Address-Based Delivery Availability Checking in RestroFood

RestroFood Delivery Availability Checker allows customers to confirm whether your restaurant delivers to them before they start an order. When Location Type is set to Address, availability is calculated by measuring the straight-line/driving distance (via Google APIs) between your restaurant’s address and the customer’s searched address, then comparing it against a maximum delivery distance you define.

This guide covers both sides: configuring it in the admin panel and what the customer sees on the storefront.

Admin Setup

Step 1: Open Location Settings

In your WordPress dashboard, go to RestroFood > Settings > Location Settings, then open the Location tab.

Step 2: Turn on the Delivery Availability Checker

Toggle Delivery Availability Checker Active to Yes. This is what makes the checker modal appear on the storefront.

Step 3: Set Location Type to “Address”

From the Location Type dropdown, choose Address.

This tells RestroFood to check availability using a real address (geocoded via Google) rather than zip codes. Because of this, the next field, your Google API Key, becomes required.

Step 4: Add your Google API Key

Paste your key into Set Google API Key. If you don’t have one yet, use the Create Google API link next to the field to generate one. This key powers the address search/autocomplete and distance calculation.

 location type address

Step 5: Set your Single Branch Shop Location

Under Set Single Branch Shop Location, use the Search Shop Location field to enter your restaurant’s address (e.g., Mirpur-1, Dhaka, Bangladesh). This becomes the fixed “Restaurant Location” customers see in the checker.

 location type address

Note: This field is for single-branch stores. If you run multiple locations, branch-specific locations and distance limits are managed separately through the Multibranch add-on rather than this single-branch field.

Step 6: Set the Distance Restriction

In Set Distance Restriction (KM), enter the maximum delivery distance from your shop, in kilometers (e.g., 50). Any customer address that falls outside this radius will be marked as not deliverable.

Both the shop location and the distance restriction must be filled in, the checker can’t calculate availability without them.

What Customers See on the Storefront

Once configured, customers get the Delivery Availability Checker modal, typically opened from a “Check Delivery” prompt on the shop page.

Step 1: Choose a Delivery Type

The customer picks one of three options:

  • Delivery
  • Pickup by me
  • In-Restaurant

Step 2: Restaurant Location is shown automatically

 location type address

The Restaurant Location field is pre-filled with the address you set in Set Single Branch Shop Location (e.g., Mirpur-1, Dhaka, Bangladesh) the customer doesn’t edit this.

Step 3: Customer searches their own location

 location type address

In Search your location, the customer types their address; Google’s address autocomplete (powered by your API key) helps them select the right match.

Step 4: Availability is calculated

 location type address

After selecting a location, the customer clicks Availability Check (on the compact/mobile layout) or the check runs automatically (on the wider layout). RestroFood compares the distance between the two addresses against your Distance Restrict (KM) value:

  • If within range, a “Delivery is available” banner appears in teal.
  • If outside range, the customer is informed delivery isn’t available at that address.

Step 5: Proceed to order

Once availability is confirmed, the customer can continue:

  • Start Order (wider layout), or
  • Order & Payment (compact layout, alongside a Back button to re-check a different location).

Quick Reference

SettingLocationPurpose
Delivery Availability Checker ActiveLocation Settings > LocationTurns the checker modal on/off
Location TypeLocation Settings > LocationSet to Address for address-based (Google API) checking
Set Google API KeyLocation Settings > LocationRequired for address search + distance calculation
Set Single Branch Shop LocationLocation Settings > LocationYour restaurant’s fixed address (single-branch stores)
Set Distance Restriction (KM)Location Settings > LocationMaximum delivery distance from the shop

Troubleshooting Tips

  • Checker not appearing: Confirm Delivery Availability Checker is toggled on.
  • “Delivery is available” not showing correctly: Double-check that the Google API key is valid and that Set Single Branch Shop Location and Set Distance Restriction (KM) are both filled in, both are required for the distance calculation to run.
  • Running multiple locations: Use the Multibranch add-on to assign a location and distance restriction per branch, instead of the single-branch field described here.
a31f7bf4d0b2e577c3a77f9ab684b31f1c854470b5547fa64d36f62b6d24725d?s=130&d=mm&r=g
Mohammad Al Omayer
I'm on a mission to help restaurant owners take back control of their food business, no commissions, no middlemen, just a system that works. As co-founder of ThemeLooks, I helped build RestroFood, a WordPress plugin trusted by 4,000+ food businesses worldwide. I'm passionate about making online ordering, delivery, and restaurant management simple enough for any owner to run on their own terms.

Comments are closed

RestroFood SIngle Blog CTA Banner Image

RestroFood Core Features

  • WooCommerce Food Ordering & Management System
  • Quick Order Placement
  • Order Scheduling & Pre-Order System
  • Order Tracking System
  • Same Page Mini Cart & Checkout System
  • Quick Product View, Search, Category Filter & Pagination
  • Delivery Type Selection (Delivery / Pickup)
  • Day-Based & Date-Wise Delivery Scheduling
  • Zip Code & Address-Based Delivery Availability
  • Distance Restrictions & Auto-Detect Customer Address
  • Real-Time Order Tracking & Notifications
  • Free Shipping Based on Order Amount