Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Multiple ZIP Codes in Flow

How can I tag orders using a list of ZIP codes in Flow?

DluxGeek
Visitor
1 0 1

I have a list of Post/Zip codes which I want to use to Tag an order with but is there a way to just have them all in a list with maybe some wildcard?  I'm not sure if I can use formatting in the fields?

 

postcodes.png

 

Scottish Highlands & Isle of Wight: Tariff Charge plus £6.00 (Postcodes detailed below)
24 Hour Service; AB10-25, AB31-33, AB39, AB41, AB51-52, IV1-20, IV30-32, IV36, IV63, PH15-26, PA21-33, FK17-21, PO30-41
48/72 Hour Service AB30, AB33-36, AB37-38. AB42-45, AB53-56, IV21-28, IV40, IV52-54, PA34-40, PH30-41, PH49-50, KW1-14, PA80.

Scottish Offshore Islands 48/72 Hour Service: Tariff Charge plus £12.00 (Postcodes detailed below)
48/72 Hour Service: HS1-9, IV41-51, IV55-56, KA27-28, KW15-17, PA20, PA41-49, PA60-78, PH42-44, ZE1-3.

Channel Isles & Isle of Man 48 Hour Service: Tariff Charge Plus £16.00, for parcels up to 5kg + £2.50 per kilo thereafter. postcodes detailed) GY1-8, IM1-9, JE1-4.

Alderney, Herm & Sark 72hr Service: Tariff Charge plus £35.00, for parcels up to 5kg + £2.50 per kilo thereafter. postcodes detailed) GY9-10.

Replies 2 (2)

paul_n
Shopify Staff
1433 157 332

If you need to use "starts with" then no. If an exact match works, then you could put them in a shop metafield or you could use the operator "is any of" where you can enter them like tags

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
david-convee
Shopify Partner
1 0 0

Hey @paul_n the problem is with zip codes that have the zip+4. I have a list of 70 zip codes that if on checkout, should get an order tag. So I can do the "is any of" rule except that rule won't read zip+4 codes. For example 81721-2911.

 

If you do "is any of" and a customer puts a zip+4, then the rule won't work. Know of a workaround?