• Resolved foots

    (@foots)


    Hey Mate,

    I really like the plugin, but I’m having some troubles.

    I’m setting up for UK postcodes, the form is finding only the last postcode in my list, and it will only find the postcode if I remove the suburb.

    I’ve followed the steps mentioned in the other posts and turned off:
    Verify Integer
    Enable Typing Trigger
    Enable Button

    Removed the cache, turned off all other plugins and checked the formatting of the postcodes.

    I don’t have any JS errors, I’ve also changed the PHP version from 7 down to 5.6.

    I’m using WP 5.01 & Divi theme.

    The error I get is the ‘We haven’t expanded to your postcode yet

    Do you have any thoughts on why it’s not finding the codes?

    Thank you!

    • This topic was modified 5 years, 11 months ago by foots.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kane G

    (@second2none)

    Hey mate, I can look into it for you, could you some of your postcodes so I can test?

    Plugin Author Kane G

    (@second2none)

    I did a few tests and there seemed to be a small error in grabbing some of the options. I’ve sent through a new update (1.5) that should fix the issue. If it continues on 1.5 let me know.

    Thread Starter foots

    (@foots)

    Hey,

    Man that was quick! Thank you very much for looking into this.

    I just updated the plugin and gave it another try and no luck.

    Here’s a few of the postcodes I’m using:

    SO31 6RP
    SO31 6RQ
    SO31 6RR
    SO31 9NU
    SO32 9NU

    The page I’m building is: https://hyperfastmedia-com.stackstaging.com/postcode-checker/

    It finds the last postcode but not the others in the list.

    Cheers!

    Plugin Author Kane G

    (@second2none)

    Sorry for late reply been on holidays. Will have a look today and use some of your postcodes to see where the errors are happening

    Just double checking your postcodes contain colon (:)
    They should follow the format
    Postcode:Suburb

    I assume after the first 4 characters the remaining 3 are associated with the street etc? If they are you could do something similar to:

    SO31 6RP:Sloe Tree Cl, Park Gate
    SO31 6RQ:Milton Grove, Park Gate
    SO31 6RR:Huxley Cl, Park Gate
    SO31 9NU:Warsash Rd, Park Gate
    SO32 9NU:Southampton

    I just searched those postcodes in google so if the results aren’t correct you can just change them. The plugin splits each line, and then splits the line by the colon (:) it uses the first part to check against the user input and if found, displays the second part. If you just want to display the postcode you can just use the format

    SO31 6RP:SO31 6RP

    I’ll create a new update soon that will check for postcodes only but for now that is a workaround. Let me know if that fixes it otherwise I’ll double check for errors again.

    • This reply was modified 5 years, 11 months ago by Kane G.
    Thread Starter foots

    (@foots)

    Happy New Year Mate!

    Back in today, thank you so much for looking into this.

    After following your post all is working well.

    Beer coming your way!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Postcodes not being found’ is closed to new replies.