Change Coupon notice/error message
-
I would like to change the default ‘Coupon “%s” does not exist!’ error message of Woocommerce. However, this seems to be a much harder task than I imagined – found no trace of it in the docs.
The relevant part of the woocommerce code is located in /includes/class-wc-coupon.php. How do I change it from my child theme’s functions.php? Obviously I do not want to change the plugin’s file directly.
Is there a hook or filter or something that I could use? I couldn’t find them in the docs.
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Change Coupon notice/error message’ is closed to new replies.