php – How to edit WooCommerce notice messages-ThrowExceptions

Exception or error:

When you add a product to cart it displays a message alerting you. Is there code that can be written in function.php that will allow you to modify this text. I specifically would like to change when I am using a cart abandonment plugin and if you click to resume your cart from the email it loads this flash message on the website, “This checkout page is generated by WooCommerce Cart Abandonment Recovery plugin from test mail”.

I would like to remove that specific message altogether or have it display a specific message, “You’ve successfully recovered your cart”.

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *