Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Hey there,
WooCommerce can use the Canadian provinces when setting up shipping zones:

Link to image: https://d.pr/i/Yu4vhU
You can select the provinces as regions.
Hi Hannah I have added zone but it is not working and I do not want to add all cities from this zone how to exclude those cities only GTA cities (Toronto, markham, Scarborough, Etobicoke, Mississauaga,Brampton, Ajax and Pickering, Vaughan) I have different conditions and for Canada I have different how to do that?
https://www.jaksoftware.co.in/post-1.png
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Okay, so you want all of a province – but except certain cities. Is that correct?
I want to add GTA Cities in one shipping method.
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Right, then you’ll need to do that using the specific zip codes. Could you please share a few examples so I can show you how to get started?
Yes I have postal code for AJAX- L1S, L1T, L1Z for Brampton- L6P, L6R, L6S, L6T, L6V, L6W, L6X, L6Y, L6Z, L7A, Troronto- M2H, M2J, M2K, M2L, M2M, M2N, M2P, M2R,
Please tell me how to add these I will add others cities accordingly.
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Looking at those, there isn’t an easy pattern to use to select multiple postal codes at once. You’ll likely need to list out every postal code that you want to use. It’ll look like this:

Link to image: https://d.pr/i/OVZF6S
I have tried with Ajax only but it is not showing shipping option that I have created for
Ajax shipping cost for Ajax is $5 but not showing this option.
https://www.jaksoftware.co.in/pic-1.png
https://www.jaksoftware.co.in/pic-2.png
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Thanks for the screenshots!
Ah, okay – so the postal code for the address at checkout is L15 7K4
. I’m not from Canada, so I only know what you tell me about the cities and postal codes. π
To make this work, you need to set the shipping zone setting’s postal code to use wild cards, such as L15 *

Link to image: https://d.pr/i/sw71P9
And then at checkout, it’s showing me the correct shipping rate (plus tax in this case):

Link to image: https://d.pr/i/IrZm4i
As for “AJAX” – what does that postal code look like?
Yes it is working this way.Thanks a lot Hannah.I am grateful for your help.
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Glad to hear it and happy to help!