On WooCommerce, by default you should see "Add to cart" button on product archive page. However, the label for this button may vary depending on the type of product and it's various attributes that is being used. This button is not mandatory as the product image is generally linked with the product specific page. Removing this button also gives you the flexibility to play around with the cleaner look of the archive page. No matter whatever the reason is, if you want to remove the "Add to Cart" button from this page (from the loop), you can easily do that using the following snippet.
<?php
function remove_button_from_archive_page(){
remove_action('woocommerce_after_shop_loop_item','woocommerce_template_loop_add_to_cart',10);}
add_action('init','remove_button_from_archive_page');
?>Simply copy and paste this snippet on your current theme's functions.php page and update it. This should remove the button from the archive page.
How about Single Product Page?
Just like the products archive page, it is also quite possible to remove this button from product specific page. In other words, WooCommerce gives you the flexibility to remove the "Add to Cart" button from single page as well. Here is what you need to do.
<?php
function remove_button_from_single_page(){
remove_action('woocommerce_single_product_summary','woocommerce_template_single_add_to_cart', 30);}
add_action('init','remove_button_from_single_page');
?>
Just like before, copy and paste the snippet on your theme's functions.php page. Hope you will find this post to be useful.
Reference: woocommerce_after_shop_loop_item, woocommerce_single_product_summary
Comments