WordPress.org

Forums

Minimum Purchase for WooCommerce
[resolved] Editing Error Messages (5 posts)

  1. belindablakley
    Member
    Posted 11 months ago #

    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/

  2. varktech.com
    Member
    Plugin Author

    Posted 11 months ago #

    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!).

  3. belindablakley
    Member
    Posted 11 months ago #

    Thanks, I will try that.

  4. varktech.com
    Member
    Plugin Author

    Posted 11 months ago #

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

  5. belindablakley
    Member
    Posted 11 months ago #

    Awesome!

Reply

You must log in to post.

About this Plugin

About this Topic