Archived topic
Woocommerce add to cart message editing
3 replies · Started by Ivan on July 6, 2019
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
Hi there,
Try unchecking the Display cart panel on add to cart option:
https://docs.generatepress.com/article/woocommerce-overview/#shop
Let me know if this helps :)
Thanks, that works for unable the message.
But, maybe there is an easy way to edit (translate) the message?
It would need to be translated here: https://translate.generatepress.com/glotpress/projects/gp-premium
Then you could implement the translation files: https://docs.generatepress.com/article/uploading-translations/
If you'd like to do the translations, feel free to sign up and I'll create an account for you: https://translate.generatepress.com/become-a-translator/