Filter available shipping type by a long list of zip codes
My customer is shipping frozen food, so I have 2 shipping types – Flat Rate for zip codes within 2 days, and UPS air for others within the US.
In the rules for those 2 types, I want to add a condition that will check that the Postal Code "Begins with" [00, 01, 02, etc.] (I have a list of ~120 postal "prefixes" of 2-3 characters, representing 1000s of postal codes from UPS).
It works fine if I add these numbers manually, using "Or" and creating a new condition for each code. But I'd prefer not to have 120 conditions for flat rate, and the same 120 conditions negated for UPS (especially since these codes occasionally change).
Sorry if this is more of a rules question, but is there any way to use multiple values within one condition? I'm not a php expert, but can php be used to insert an array of values that will make this work?