How to set shipping prices by governorate in WooCommerce (Egypt)
If you sell across Egypt, delivering to Nasr City does not cost the same as delivering to Aswan or Marsa Matrouh. This guide shows you how to set shipping prices by governorate in WooCommerce using shipping zones, so every customer sees the correct delivery fee for their governorate at checkout, plus how to add free shipping above a certain order amount and how to test everything before you go live.
How WooCommerce shipping zones work
A shipping zone is a group of locations (countries, states/governorates or postcodes) that share the same shipping methods and prices. When a customer enters their address, WooCommerce checks the zones from top to bottom and uses the first zone that matches. WooCommerce already includes the list of Egyptian governorates as "states" for Egypt, so you can pick them directly without any extra plugin.
Step 1: Plan your governorate groups
Before opening the dashboard, decide how you will group governorates. Use the prices your shipping company (or your own delivery team) actually charges you. A common grouping looks like this (the groups are only an example; the prices are yours to decide):
| Zone name | Governorates (example) |
|---|---|
| Cairo & Giza | Cairo, Giza |
| Alexandria | Alexandria |
| Delta & Canal | Qalyubia, Sharqia, Dakahlia, Gharbia, Monufia, Beheira, Kafr El Sheikh, Damietta, Port Said, Ismailia, Suez |
| Upper Egypt | Faiyum, Beni Suef, Minya, Asyut, Sohag, Qena, Luxor, Aswan |
| Remote governorates | Red Sea, Matrouh, New Valley, North Sinai, South Sinai |
Step 2: Create a shipping zone for each group
- From your WordPress dashboard go to WooCommerce → Settings → Shipping.
- Click Add zone (in some versions: Add shipping zone).
- Type a clear Zone name, for example "Cairo & Giza". The customer does not see this name; it is for you.
- In Zone regions, start typing the governorate name (e.g. "Cairo") and select the entry that shows Cairo, Egypt. Add every governorate that belongs to this group.
- Click Add shipping method, choose Flat rate and continue.
- Set the Cost field to the delivery fee for this zone (numbers only, in your store currency). Leave Tax status as it suits your store.
- Save the method, then click Save changes for the zone.
Repeat these steps for every group. When you are done you will see all zones listed on the shipping page. You can drag zones to change their order; since the first matching zone wins, make sure no governorate is accidentally added to two zones.
Step 3: Handle addresses that match no zone
At the bottom of the shipping page there is a zone for locations not covered by your other zones (sometimes shown as "Rest of the world"). If you only ship inside Egypt and have covered all governorates, leave this zone without methods; customers outside your zones will then see a message that no shipping options are available.
Step 4: Add free shipping above an order amount
- Open the zone where you want to offer free shipping (you can do this in every zone or only in some).
- Click Add shipping method and choose Free shipping.
- In the method settings, set Free shipping requires to A minimum order amount and enter the amount you decided on.
- Save changes.
The customer will now see both options (Flat rate and Free shipping) once their cart reaches the amount. Many store owners prefer to hide the paid option when free shipping is available; this needs a small code snippet or a shipping plugin, and we can add it for you if needed. You can also create a free shipping coupon instead (see Free shipping requires → A valid free shipping coupon).
Step 5: Show the price only after the governorate is chosen
To avoid showing a wrong or default fee before the customer picks their governorate, go to WooCommerce → Settings → Shipping → Shipping options (called Shipping settings in some versions) and enable Hide shipping costs until an address is entered. Also make sure the governorate field (the "State" field for Egypt) is required at checkout, which it is by default in WooCommerce.
Step 6: Test before going live
- Open your store in a private/incognito window, add a product to the cart and go to checkout.
- Choose a governorate from each zone and confirm the fee changes correctly.
- Increase the cart above your free-shipping amount and confirm the free option appears.
- Place one test order (e.g. with Cash on Delivery) and check the shipping line in the order details, then cancel it.
Common problems
- "No shipping options were found": the selected governorate is not added to any zone, or the zone has no enabled method.
- Wrong price shows: the governorate exists in two zones and the upper one is being used. Remove the duplicate or reorder the zones.
- Price does not update when changing the governorate: usually a caching plugin is caching the cart/checkout pages. Exclude cart, checkout and my-account pages from cache.
- Governorate list does not appear: make sure the country selected at checkout is Egypt and that Selling location(s) in WooCommerce → Settings → General includes Egypt.
Frequently asked questions
Can I set a different price for one city inside a governorate?
WooCommerce zones work with governorates and postcodes. For city-level or district-level prices you need a dedicated shipping plugin or custom development.
Can I charge extra for heavy products?
Yes. Create shipping classes from WooCommerce → Settings → Shipping → Classes, assign them to products, then add an extra cost per class inside the Flat rate settings of each zone.
Do I need to change anything when my courier changes prices?
Just edit the Cost field of the Flat rate method in each affected zone. Existing orders keep the fee they were placed with.
Will this work with products I imported in bulk?
Yes, zones apply to all products. If you add products one by one, see How to add a new product in WooCommerce, or for large catalogs how to add and edit products in bulk.
Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.