The Post/Zip Codes feature under Shipping > Local Delivery only offer an exact match (i.e. to ‘match’ postcode RN12 3AB, you can’t enter RN*, or RN1*, RN12*, or even RN12 3*, you need to enter the whole code for every area you want to match. Since there are 29 MILLION postcodes in the UK, I did a quick ‘back of a fag packet’ calculation and discovered it would take me about 21 years to enter all the permutations. Woo support did say it “might be a bit tedious” to make that feature work correctly!
So, now I’ve got that off my chest, how can I edit that function to add in wildcard support, to match the two letter code I enter plus whatever the rest of the poscode is? Apparently wildcard support will be in woocommerce 1.7 when its released, but I’d like to get the jump on it and have that ability now. Any ideas welcomed on where I could modify code to manage this?
- The topic ‘How do I enter a wildcard to save 21 YEARS work?’ is closed to new replies.