How to Hide remove disable Add to cart button in woocommerce ?

There is more than ONE way to hide/remove the ‘Add to Cart’ button in WooCommerce. It is after all a button, so you can hide it via CSS, JS or PHP.

Here’s the code for the same:

 

remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );

remove_action( 'woocommerce_simple_add_to_cart', 'woocommerce_simple_add_to_cart', 30 );

remove_action( 'woocommerce_grouped_add_to_cart', 'woocommerce_grouped_add_to_cart', 30 );

Read the guidelines for Technology + Write For Us + Guest Post Category and send blog at developergang1@gmail.com