Hide Amount of Items from Add to Cart Message in WooCommerce

hide-number-add-to-cart

Need to hide the amount of items added to the cart in the success message that appears after adding an item  in WooCommerce, the wc_add_to_cart_message_html filter has you covered. Add the below code snippet to your functions.php <?php //<~ don’t add me add_filter( ‘wc_add_to_cart_message_html’,’wb_custom_add_to_cart_message’, 10, 2 ); /** * Hide number of items added as to message…

Read More