enter image description here

I have a Woocommerce product with some attributes, when i leave a attribute empty like this:

I get an error message like an JavaScript alert box:

But how can I redirect the message to a normal error alert, kinda like this:
enter image description here

Read more here: Woocommerce Change Variation Alert


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: