Mateo uses the 'Area' rule to target areas without postcodes
Mateo's delivery areas & rates:
FREE SHIPPING AREA [Local communes]: Free shipping
REST OF CHILE [Everywhere else in Chile]: $20 shipping
Mateo has already:
Navigated to his Postcode Shipping dashboard.
Create a Zone for the Chile:
The first thing Mateo is going to do is create a Zone for Chile.
From the Postcode Shipping dashboard, click Zones, then add Zone.
Name the zone and choose the appropriate country/countries from the list. Mateo chooses Chile from the list of countries.
Next, Mateo needs to define the areas within the zone he wishes to provide delivery to. He can do this by creating Ranges. Ranges are by default defined by postcodes, however since postcodes are not common in Chile, Mateo makes use of Area rules instead of using postcodes to define his ranges.
Within a zone click the option to Add a postcode range.
Give the range a title. In this example Mateo calls his range 'Free shipping areas' and keeps all of the default settings.
In the 'Rules' section define a range by entering Area rules in the 'Rule matches' and 'Rule exclusions' fields. Mateo's 'Free shipping areas' range is only for deliveries in the nearby communes of Viña del Mar, Valparaíso, Quintero, Puchuncaví, Concón and Casablanca, so he creates the following rule:
postcode:Viña del Mar postcode:Valparaíso postcode:Quintero postcode:Puchuncaví postcode:Concón postcode:Casablanca
If any of the above communes are entered in the postcode field at checkout they will be included in this range.
Create a 'Catchall' Range.
Next Mateo needs to add a second range which acts as a 'catch all' for the rest of the communes in Chile not included in the earlier range, or they won't receive shipping rates.
Navigate back to the zone (eg 'Chile') and click Add a postcode range.
Give the Range a name (eg 'Rest of Chile'), and set the 'Catchall' status to Yes. Note: the Range rules fields disappear, as rules are not needed.
Once Mateo has created his ranges, he's ready to add rates.
At the bottom of any range screen click Add a rate for this range.
Fill in the rate details. In this case Mateo adds a 'free' rate for the 'Free shipping areas' range, and adds a 'flat' rate of $20 to the 'Rest of Chile' range.
The last thing Mateo does is change the language used in his Shopify store to make it really clear to his customers on checkout that they can put their commune name in the postcode field, rather than a number.
From you Shopify Dashboard, click Online Store, then Themes.
Next, click Actions, then from the drop down menu choose Edit languages.
Here you will find the default titles, terms & notices used throughout your site, and you’re able to change many of them.
Mateo chooses Checkout & system, then scrolls down to the 'Checkout Contact' section. In this section he changes the 'Postal code label' and the 'Postal code placeholder' to say 'Commune'. (He can do this because he only ships in Chile. If he were shipping elsewhere he might label the field 'Postcode/Commune'.)
Note: if Mateo were changing the language of his store to Spanish he'd have to make that change also in the Spanish translations fields.
Now when Mateo's customers proceed to checkout in his Shopify store, they will receive shipping rates based on the commune they have entered in the postcode field of their delivery address. Those with a commune matching those specified in the 'Rule matches' field of the 'Free shipping areas' range will see free shipping, while all other communes will be shown the flat rate of $20.
You can use this setup for your country too! Even though this example is based in Chile, if you need to use the 'Area rule' you can create a similar setup no matter which country you are shipping from or shipping to.
Area Rule 'Keys' you can make use of instead of postcodes: