woocommerce cart remove in aja code example
Example 1: woocommerce remove add to cart
// functions.php
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_false' );
Example 2: remove add to cart woocommerce button
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart');