WooCommerce Shipping Zones: A Worked Pakistan Example

Set delivery prices for your city and the rest of Pakistan, add free delivery over an amount, charge for heavy items, and test five sample carts.

Published 1 December 2026

WooCommerce checks your shipping zones from the top of the list and uses the first one that matches the customer's address. Put your own city first and a zone for all of Pakistan below it. Each zone has its own delivery price and free delivery amount. Shipping classes add a charge for heavy items.

What this example will charge (made-up numbers)

This made-up bedding shop is in Faisalabad, and every price on this page is made up. Its zones are in this order:

  1. Faisalabad city: Rs 150 flat rate, Rs 100 more for each heavy item, free delivery from Rs 2,500.
  2. Rest of Pakistan: Rs 300 flat rate, Rs 200 more for each heavy item, free delivery from Rs 6,000.
  3. Rest of the world: no delivery methods. WooCommerce adds this zone itself. If you leave it empty, buyers abroad are told that no shipping option is available.

Use your own prices instead.

Step 1: make the zones

  1. Open WooCommerce > Settings > General and check that Shipping location(s) includes Pakistan.
  2. Open WooCommerce > Settings > Shipping > Shipping zones and click Add zone.
  3. Name it Faisalabad city and choose Punjab as the region.
  4. Click Limit to specific ZIP/postcodes and type one code per line. Pakistan Post lists 38000 for Faisalabad GPO. Other areas of a city can have other codes, so look up each area you deliver to.
  5. Save it. Add a second zone called Rest of Pakistan and choose Pakistan as the region.
  6. Drag Faisalabad city to the top by its handle and click Save changes.

Watch the postcode. A zone can use countries, provinces and postcodes, but it has no box for a city name. If a buyer types the wrong postcode, or your checkout hides that box, a Faisalabad order gets the Rest of Pakistan price. An Islamabad shop can skip postcodes, because Islamabad Capital Territory is a separate region in WooCommerce.

Step 2: add the delivery prices

Do this in both zones:

  1. Click Edit on the zone, then Add shipping method. Choose Flat rate and click Continue.
  2. Type a clear name, such as Courier delivery. Enter the cost and click Save zone and method.
  3. Add a second method, Free shipping. Under Free shipping requires, choose A minimum order amount and enter your amount.

By default, buyers see free delivery and the paid rate together. In WooCommerce 9.9 or later, open WooCommerce > Settings > Shipping > Shipping settings. Switch on Hide shipping rates when free shipping is available.

If you limit cash on delivery to certain methods, decide if it also works with Free shipping. The COD setup steps show where.

Step 3: add the heavy item charge

  1. Open WooCommerce > Settings > Shipping > Classes and add a class called Heavy.
  2. Open each heavy product, go to its Shipping tab and choose Heavy. For a product with sizes or colours, check each variation as well.
  3. Edit the flat rate in each zone. Type 100 * [qty] in the Heavy cost box for Faisalabad city and 200 * [qty] for Rest of Pakistan. In a class box, [qty] means the number of items from that class.

A class has no price until you add one inside each zone's flat rate. Leave the "no shipping class cost" box empty if ordinary items should add nothing.

Calculation type matters when an order has items from two classes. Say you also have a Fragile class that costs a made-up Rs 120. A Multan order with one heavy and one fragile item, below the free delivery amount, would cost:

  • Per class, which adds both: Rs 300 + Rs 200 + Rs 120 = Rs 620.
  • Per order, which adds only the dearer class: Rs 300 + Rs 200 = Rs 500.

Step 4: test these five carts (made-up prices)

Use a new private browser window after every change, because a cart can keep an old price. A bedsheet is Rs 2,200 and a heavy blanket is Rs 3,500.

  • Faisalabad 38000, one bedsheet, Rs 2,200: delivery is Rs 150.
  • Faisalabad 38000, two bedsheets, Rs 4,400: free delivery.
  • Multan, one bedsheet, Rs 2,200: delivery is Rs 300.
  • Multan, one bedsheet and one blanket, Rs 5,700: Rs 300 + Rs 200 = Rs 500.
  • Multan, two blankets, Rs 7,000: free delivery. The flat rate would have been Rs 300 + Rs 400 = Rs 700.

The last cart could cost the shop money, because built-in free shipping cannot leave out heavy items. Raise the minimum, remove free delivery there, or find an extension with product rules.

Coupons matter too. A Rs 6,200 order with a Rs 500 coupon counts as Rs 5,700, so it misses the Rs 6,000 minimum. To count the amount before the coupon, tick Apply minimum order rule before coupon discount.

If the wrong price appears

  • A wide zone sits above a narrow one. The wide zone matches first, so drag the narrow one higher. WooCommerce 11.1 and later can show the warning "This zone will not be matched".
  • The matching zone has no methods. WooCommerce stops there and does not try the next zone.
  • The page shows old prices. Clear the cache and keep Cart, Checkout and My Account out of your caching plugin.
  • You cannot tell which zone matched. Turn on Debug mode under Shipping settings and check the classic cart page. The notice does not appear in the Cart or Checkout blocks. Turn it off afterwards, because customers can see it too.

Work out your cost per delivered order before you set real prices. New to WooCommerce? Start with what it needs in Pakistan.

Common questions

Can I set a different price for every city?

Yes, with one zone and a postcode list for each city. Begin with two or three zones, because every list needs checking. Add a city only when its courier price is clearly different.

Can I charge by weight?

Yes, in WooCommerce 11.3 or later. With made-up rates and a store set to kg, 150 + (50 * [weight]) charges Rs 250 for 2 kg. Fill in every product's weight, because an empty one counts as zero. For older versions or price steps, look for a table rate extension.

Should I charge exactly what the courier charges me?

That is your choice, because WooCommerce charges what you type. Cover the courier, packing and handling, or add part of that cost to your product prices.

Sources

Read next

Check a domain name