Available attributes
Postcode matching
Postcodes accept the same flexible syntax as the rates side:PO Box detection
Address is a PO Box and Address is not a PO Box scan the address the customer entered for any mention of a PO Box. Most couriers won’t deliver to a PO Box, so this is how you withdraw courier options before the order is placed rather than discovering the problem in fulfilment.Detection is text-based — it looks for mentions of a PO Box in what the customer typed. An unusually worded address may slip through, so treat it as a strong filter rather than a guarantee.
Shipping Method Name and Shipping Rate
These two are unusual: they match against the shipping options themselves rather than the customer.- Shipping Method Name — matches part of a method’s name. Lets you write rules about a family of methods.
- Shipping Rate — matches the method’s price, numerically.
Country and province codes
Two-letter Shopify codes, not full names.- Country Code — ISO 3166-1 alpha-2 (
US,GB,AU,IN). Full list. - Province / State Code — two-letter province codes (
CA,NY,VIC,MH). Full list.
Examples
No express to remote postcodesRelated
Parameter sets
Which attributes can be combined in one rule.
Hide methods by region
A worked regional example.
Rate-side location conditions
The equivalent for shipping rates.
Actions
What happens once conditions match.
