Description
WooCommerce asks Gulf customers for addresses the way they are written in Europe or the US. UAE shoppers get a free-text “State” box and no place for the details couriers actually use, and Saudi shoppers get no region list at all. The result is wrong or incomplete addresses, failed deliveries and returned cash-on-delivery orders.
GCC Address Fields fixes the address form for the United Arab Emirates and Saudi Arabia, and cleans up phone numbers for all six GCC countries.
United Arab Emirates
- Fields in the order people say their address: Emirate, then Area, then Street and building.
- Emirate dropdown with all seven emirates, so shipping zones and rates can be set per emirate.
- Area picker: as soon as the customer picks an emirate, the Area field opens a list of that emirate’s areas (Dubai Marina, Al Nahda, Mussafah, Al Majaz and others, nearly 200 in all). Typing filters the list, arrow keys and Enter or a click choose an area, and the cursor moves on to the street. Changing the emirate clears an area from the old one. An area that is not listed can still be typed.
- No postcode box (the UAE has no postcodes).
- Optional Makani number field for stores whose couriers ask for it (off by default): the 10-digit number on Dubai building plates.
Delivery location (all six GCC countries)
- “Use my current location” button: one tap shares the customer’s current location from their phone or browser. It is saved on the order as a Google Maps link, so you and your courier can see where the building or villa is. Fewer calls asking for directions.
- The emirate (or Saudi region) is set from the location automatically, and the Area list opens for the next step.
- Customers can also paste a Google Maps link (for example when ordering for another address). It is checked and cleaned up.
- The map link appears on the order screen (“Open in Google Maps”), in order emails and on the confirmation page.
- No Google account, API key or cost. The location comes from the customer’s own browser, with their permission. The plugin itself sends nothing to any outside service.
Saudi Arabia
- Region dropdown with the 13 Saudi regions.
- National Address short code field (optional or required): the 8-character code such as RRRD2929, checked for the right format.
- Postal code becomes optional.
Phone numbers (UAE, Saudi Arabia, Kuwait, Qatar, Bahrain, Oman)
- Numbers typed as 050 123 4567, 00971501234567 or with Arabic digits (٠٥٠١٢٣٤٥٦٧) are saved as +971501234567, ready for WhatsApp, SMS and couriers. Arabic digits are converted as the customer types, so checkout never rejects them.
- Optionally accept only valid mobile numbers for the customer’s country.
Where it works
- Classic checkout, the Cart & Checkout blocks, and My Account address editing.
- Makani numbers and short codes appear in the formatted address on order screens, emails and invoices.
- Compatible with High-Performance Order Storage (HPOS).
- No API keys, no tracking, and the plugin makes no requests to outside services.
External services
This plugin does not connect to any external service and makes no remote requests.
When a delivery location is saved, the plugin shows it as a link to Google Maps (https://www.google.com/maps?q=latitude,longitude), so the store owner, the courier or the customer can open it on a map. Nothing is sent to Google unless someone clicks that link. When it is clicked, the browser opens Google Maps and Google receives the coordinates in the link, under Google’s Terms of Service and Privacy Policy. Customers can also paste a Google Maps link they copied themselves; the plugin only checks and stores it.
The “Use my current location” button uses the browser’s built-in Geolocation API. The browser asks the customer for permission first, and the position goes directly to your store’s checkout form.
Installation
- Install and activate WooCommerce.
- Install this plugin from Plugins > Add New, or upload the zip file, and activate it.
- Go to WooCommerce > Settings > GCC Address to choose which fields to show.
Everything is switched on with sensible defaults, so the checkout works straight after activation.
FAQ
Will the Makani field show for customers outside the UAE?
No. The Makani field only appears when the address country is the United Arab Emirates, and the short code field only appears for Saudi Arabia.
My emirates were set up as free text before. What happens to old orders?
Old orders keep the text they were saved with. New orders store the emirate code (for example DU for Dubai) and show the emirate name, the same way WooCommerce handles states in other countries.
Does the location button send data anywhere?
The plugin sends nothing to outside services. The browser asks the customer for permission and gives the position directly to your store. The plugin saves it on the order and, for logged-in customers, on their saved address so it can be reused next time. It is shown as a normal Google Maps link. The button needs your site to use HTTPS, which browsers require for location access.
What data does the plugin store, and what happens when I delete it?
It stores the emirate or region, area, Makani number, short code and delivery location as part of the order address, and on the customer’s saved address. Deleting the plugin removes its settings but keeps order and customer data, because those are your store’s records. Remember to mention the delivery location in your store’s privacy policy if you use the button.
What if the customer is not at the delivery address?
The button is optional. They can skip it, or paste a Google Maps link of the delivery address instead.
Can I add more areas to the suggestions?
Yes, with the gccaf_uae_areas filter. It receives an array of area names keyed by emirate code (AZ, DU, SH, AJ, UQ, RK, FU).
Does the plugin look up Saudi addresses from the short code?
Not in this version. It checks that the short code is in the right format. Looking up the full address needs a connection to an outside address service.
Does it work with the block checkout?
Yes. On the block checkout the Makani and short code fields are added with the WooCommerce Additional Checkout Fields API, which needs WooCommerce 9.9 or later.
Screenshots






Changelog
1.0.1
- Fix: a translation that uses straight double quotes in a field hint no longer stops the classic checkout from showing and hiding fields by country.
1.0.0
- First release.
