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.
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.
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
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
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
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
| Setting | Location | Purpose |
| Delivery Availability Checker Active | Location Settings > Location | Turns the checker modal on/off |
| Location Type | Location Settings > Location | Set to Address for address-based (Google API) checking |
| Set Google API Key | Location Settings > Location | Required for address search + distance calculation |
| Set Single Branch Shop Location | Location Settings > Location | Your restaurant’s fixed address (single-branch stores) |
| Set Distance Restriction (KM) | Location Settings > Location | Maximum 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.