remove category and add to cart in woocommerce single product page programmatically 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');