WooCommerce - Custom added to cart message

sketchmouse
sketchmouse saved this snippet as PHP
Discussion
Ivan 1 year ago hello! But how to customize the messages after updating / removing items from the cart? Thank you!
sketchmouse 1 year ago Hi Ivan! Sorry for my slow reply, I was away for a few days. That is a good question, I was struggling with the same problem awhile ago as well. To my knowledge these types of messages / functions aren't built in WooCommerce at this point. I was thinking of writing a small function which checks the carts product count and if the count goes down because an item is removed, then have a custom message displayed, but I'm not sure if that is the best solution.

Leave A Reply


You may use these HTML tags and attributes:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strong>