Most themes display “Such-and-such product has been added to your cart.” If you don’t want to display that message every time an item is added, just add the following snippet to your functions.php file:
add_filter( 'wc_add_to_cart_message_html', '__return_false' );
Related Articles
- How to Return WooCommerce Advanced Custom Fields Through the WordPress API
- How to Override WooCommerce Templates in a WordPress Plugin
- Adding Advanced Custom Fields Google Maps to WooCommerce Quick View Pro
0 0 votes
Article Rating