• Resolved xltechit

    (@xltechit)


    When a product is added to the cart from a product page, the page reloads with a “Added to Cart” banner that covers the header and shifts the layout of the page.

    I want to remove this banner from appearing to prevent this from happening. My menu cart button updates when products are added already.

    Can someone please help as I am new to this.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi there,

    There’s a filter you can to use remove (or change) that message with. The following code snippet, added to your functions.php file or via a code snippets plugin, will remove it without a trace:

    add_filter( 'wc_add_to_cart_message_html', '__return_false' );

    Click here if you’re interested to see where that filter appears in the code.

    Plugin Support fevered – a11n

    (@fevered)

    Hey there, since we haven’t heard back from you in awhile I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove “Added to Cart” Banner’ is closed to new replies.