WooCommerce Disable Add to Cart

Simply just add this code below to your theme functions.php


/* REMOVE ADD TO CART	*/
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart');
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );

Leave a Reply

Your email address will not be published. Required fields are marked *