SOLVED: Displaying and deleting the Country / Region field issue in checkout

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

Hi bricks team,

In WooCommerce settings, I assigned sales to a specific country (US) because sales are only in the US. After that, the checkout form still displays the Country/Region field label. I tried to disable it in the bricks checkout element, but the user gets an error because it is a required field.

Hi @Victor1999,

can you record a video of the issue? Because when I create a setup like you have, I can still complete the checkout process.

Best regards,
Mate

Hi @Matej,

Hi @Matej,

Were you successful in replicate this report? Please let me know if you need more details.

Hi @Victor1999,

I’m so sorry, I’ve missed your answer. But I was able to replicate it now, and I’ve added it to the internal bug tracker. The reason why I was unable to replicate it the first time is because it looks like it’s working, if “Deliver to different address” is selected.

We will update this topic once we fix this, and for now, please use CSS to hide it. I’m also not sure if Bricks can affect this, because this is WooCommerce functionality, so maybe the CSS will be the way to go.

Thank you,
Matej

We’ve addressed this in Bricks 2.5-beta (beta release), now available for manual download from your Bricks account.

Hiding the Country/Region field no longer blocks checkout when only one country applies, such as with single-country shipping.

Please read the changelog entry before testing, and let us know if you experience any issues. Beta builds are not intended for production sites.