Hello,
Thank you for reaching out to us.
You’re right – the postcode field is required by default in WooCommerce and unfortunately, it cannot be made optional via the UI in our plugin (Flexible Checkout Fields), because WooCommerce explicitly blocks editing the required status of some default fields, including the postcode.
However, you can make the postcode field optional by adding the following code to your theme’s functions.php file. Here’s a ready-to-use version:
https://textbin.net/nidu862guy
This will make the postcode field optional and prevent WooCommerce from showing validation errors, even if the field is left empty or contains a non-standard value.
Please let me know if you have any further questions.
Kind regards,
Hello,
I haven’t heard from you in a while, so I’m marking this thread as resolved. Please don’t hesitate to open a new one if you encounter any issues while using our plugin.
Have a fantastic day,