• Resolved Marc

    (@crammarc)


    Hello,

    How can I avoid the message after adding an item to cart?

    I tried with some solutions given here, but it doesn’t work on my site.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @crammarc,

    Thanks for reaching out.

    How can I avoid the message after adding an item to cart?

    If I understand you correctly, you’d like to remove the store notices once a user adds an item to cart, is that correct?

    I tried with some solutions given here, but it doesn’t work on my site.

    Could you share the solutions you are describing and how you added them to your site?

    In the meantime, you can find a detailed explanation from this external guide.

    Let us know if this helps.

    Thread Starter Marc

    (@crammarc)

    Hello,

    Of course, I’d like to removethe store notices once an user add an item to cart.

    I tried with that:

    add_filter( ‘wc_add_to_cart_message_html’, ‘__return_false’ );

    At the beginning it seems to work, but now those messages are shown.

    Hey, @crammarc!

    While we can’t provide support for code customization as per our support policy, we do our best to offer advice and direct you to appropriate resources.

    I found a few options, but please note that those are from other users, they are not supported or endorsed by us. So make sure to have a backup before trying them on your website.

    Stackoverflow
    Businessbloomer

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there too.

    I’m going to leave it open for a bit to see if anyone is able to chime in and help you out further.

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove messages after adding an item to cart’ is closed to new replies.