turn off add to cart woocommerce code example
Example 1: woocommerce remove add to cart
// functions.php
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_false' );
Example 2: elementor woo product hide add to cart
add_filter( 'woocommerce_is_purchasable', '__return_false');