woocommerce remove add to cart from product page variable 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' );