Support » Plugin: WooCommerce Max Quantity » Customize error message

  • Resolved sscalifornia

    (@sscalifornia)



    Can you give me a simple way to customize the message the user receives when they try and add too many products? My client wants to be called if the customer wants more than 1000 items and I want to put their phone number in there.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I would like to do a similar thing, how can we add a custom message?

    If you search for the string in the main PHP file “You can add a maximum of” you will see 3 places to edit 1 error message.

    I’m also trying to find the “Please select a value that is no more than…” message on a single product page and would like to customize that, but can’t find that text. If anyone know, looking for help please.

    Plugin Author isabel104

    (@isabel104)

    There are 2 types of error messages. Here is an example of how to customize both of them.

    Plugin Author isabel104

    (@isabel104)

    Note: you have to update the plugin to the latest version (1.5, just released) to have the ability to customize some of the error messages.

    That worked great! Thank you so much. I experimented with the plugin error message and was able to add a URL link. When I try that on the browser code, it works with no link/url, but when I put in the html there it just ignores it and goes to default browser validation. Could a link go there too?

    Perfect, thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customize error message’ is closed to new replies.