remove add to cart from single product in woocommerce code example
Example: woocommerce remove add to cart
// functions.php
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_false' );
// functions.php
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_false' );