[Support request] Woocommerce add to cart message editing

Home Forums Support [Support request] Woocommerce add to cart message editing

Home Forums Support Woocommerce add to cart message editing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #950422
    Ivan

    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

    #950586
    Leo
    Staff
    Customer Support

    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 🙂

    #950607
    Ivan

    Thanks, that works for unable the message.

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

    #950698
    Tom
    Lead Developer
    Lead Developer

    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/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.