Support » Plugin: Minimum Purchase for WooCommerce » Editing Error Messages

  • Resolved belindablakley

    (@belindablakleygmailcom)


    Hi,
    First of all, this is a great plugin! I have been able to style the error messages to fit my site very easily. The only thing is that I’d like to change the wording a bit and add a link, but I can’t find the message text in any of the files. Can you point me to the correct file (specifically, I’m looking for “For these product(s) in your cart: ” and “The current total for the products in the cart is::”).

    https://wordpress.org/plugins/minimum-purchase-for-woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author vark

    (@vark)

    Hi Belinda,
    Thanks for the kind words! The wording for error messages is created on the fly, and is added into the message piece by piece. based on what the plugin determines is the error. For example the string ‘current total’ is added into the error message in core/vtmin-apply-rules.php in line 739 and line 762.

    To change the wording of the messages, once you identify the strings you want to change, can be done with the WordPress PO translate function (even doing English to English!).

    belindablakley

    (@belindablakleygmailcom)

    Thanks, I will try that.

    Plugin Author vark

    (@vark)

    Hi Belinda,
    Custom messaging is coming in a few weeks…
    Vark

    belindablakley

    (@belindablakleygmailcom)

    Awesome!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editing Error Messages’ is closed to new replies.