search
Log In
Welcome to Blogiestools Ask, a blogging community where beginner and professional bloggers come to seek answers from other bloggers’ experiences.

You can ask questions related to starting a blog, monetizing a blog, marketing a blog, managing a blog, fixing a problem, the best web tech tools to use, etc.

Register or log in to ask or answer questions.

Ask a Question

0 votes
Am looking for a solution on how to hide or completely delete Successfully Added to Cart message in WooCoommerce
in WordPress Problems

1 Answer

0 votes

To remove the successfully added to cart  message that appears in WooCommerce  product pages once a product has been added to the cart, then add the following code to your functions.php file in your theme

add_filter( 'wc_add_to_cart_message_html', '__return_null' ); 

15.1k points

Related questions

0 votes
1 answer
I need a code to change WooCommerce add cart button text without installing a plugin
asked Nov 8, 2021 in WordPress Problems anonymous
0 votes
1 answer
I need to hide my WordPress blog user profile from Google Search results. I do not want my author profile to appear if people search my name.
asked Nov 4, 2021 in WordPress Problems anonymous
0 votes
1 answer
I want users to login to my WordPress.org site using their Jetpack via WordPresss.com for security reasons
asked Nov 8, 2021 in WordPress Problems anonymous
1 vote
1 answer
I want to allow guest customers to checkout in WooCommerce with specific email domains. I do not want accounts to be registered during checkout with disposable emails.
asked Nov 8, 2021 in WordPress Problems anonymous
0 votes
1 answer
I have created a privacy page but I do not know how to add it in the footer section of my WordPress powered blog
asked Nov 3, 2021 in WordPress Problems anonymous