WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Need to know how to modify woocommerce coupon error message (2 posts)

  1. kelly2cats
    Member
    Posted 1 year ago #

    I am using Woocommerce and need to know how to modify the error message received when an invalid coupon code is entered in the cart.

    For example, I want to change the text from 'Coupon does not exist!' to 'Coupon does not exist! Coupons are CASE SENSITIVE. Please try again.'

    I have altered the class-wc-cart.php file in the meantime, however I am aware this is not best practice. I don't know if I need to use a hook to do this and if so, what code to use?

    Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/woocommerce/

  2. kelly2cats
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic