Site logo

Archived topic

Woocommerce add to cart message editing

3 replies · Started by Ivan on July 6, 2019

Viewing posts 1–4 of 4

Hi there!
I don't know if my questions is on GP theme setting.
But anyway I haven't found an answer in other sources.

I use woocommerce plugin in my site. It's totally translated on my language. But when I add an item to cart, "Add to cart message" in the top of the screen is shown in english (everything: text and buttons).

I've tried this code to remove this message at all:
add_filter( 'wc_add_to_cart_message_html', '__return_null' );
But it doesn't work.

Could you help me to remove this message or to edit it to translate to my language?

GP 2.3.2
GP Premium 1.8.3

Thanks, that works for unable the message.

But, maybe there is an easy way to edit (translate) the message?

This archived topic is closed to new replies.