• Resolved todi4444

    (@todi4444)


    Hello everyone! I want to change the error message:

    “! Billing name is required
    ! Billing phone is required etc”

    that appears when someone does not fill the field right.
    I searched in the code and I found that it has %s in this place and retrieve the table name which is Billing and phone the name of the cell and display it as Billing phone is required field. The correct should be “Phone is required field”

    How can I change them? Thank you in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • AJ a11n

    (@amandasjackson)

    Hi @todi4444

    WooCommerce makes use of language files same as WordPress. You can use any translation plugin to edit the english language file to change the string.
    Afterwards you can deactivate the translation plugin.

    Here is how to edit your language file using Loco Translate: https://docs.woocommerce.com/document/woocommerce-localization/#section-5

    And here is a screenshot of the string in Loco: https://cld.wthms.co/4LEA3c

    Thread Starter todi4444

    (@todi4444)

    Hello Amanda and thank you for the response! I website is in greek. I had already installed loco translate plugin. I find in greek language in WooCommerce section the field Billing %s and in translation I deleted the word billing because this is the misunderstanding in my language. But the problem still exists… I do not know what to do…

    AJ a11n

    (@amandasjackson)

    Hi @todi4444

    If you have translated the string, but it is not showing on the Front end, you may need to clear the transients. This can be done at WooCommerce>Status>Tools


    Link to image: https://d.pr/i/auDZXv

    Plugin Support EtienneP a11n

    (@etiennep)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Hello,
    I’d like to ask about this. Indeed, I can modify the message in Loco. However, as @todi4444 mentioned, the %s field retrieves the table name (Billing) + the field name (eg. Phone) resulting in “Billing Phone is required”. Now in my site language (Polish) the term “Billing” is not translated, but the rest is. So as result I have “Billing Telefon jest polem wymaganym”. I cannot change the %s in Loco, as this filed related to all required fields missing and I want just to remove the “Billing” part from this. I’m using a localized version of WooCommerce so all other fields are translated by default.

    AJ a11n

    (@amandasjackson)

    Hi @osiak

    Please open a new thread for your question.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CHECKOUT REQUIRE FIELDS ERROR MESSAGE CHANGE’ is closed to new replies.