• Resolved richardwilde90

    (@richardwilde90)


    I am experiencing a problem with woocommerce address validation on the cart page.

    I need to remove the validation for address, off the cart page.

    the validation is not accurate because people from Europe often put letters in their postcode.

    for example: DE-75433

    this is against woocommerce validation as it will only accept the numbers

    for example: 75433

    how to remove the validation off the cart page?

    thanks so much!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @richardwilde90,

    I need to remove the validation for address, off the cart page.

    I’ve been searching for a snippet that could help you achieve your goal but could not find it. What you can do is remove the zip code on the cart page and remove validation for the zip code field on checkout.

    Remove zip code on the cart using this snippet. Then, you can use another snippet to disable zip code validation on checkout.

    I would recommend using a plugin like Code Snippets to add custom PHP code into your site without directly accessing the functions.php file.

    Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    Hopefully, the above information was helpful. If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove postcode validation for cart page’ is closed to new replies.