I’m going crazy trying to remove the “add to Cart” button from the single product page. I’ve searched all over internet and the solution seems to be to add
add_filter( ‘woocommerce_is_purchasable’, false );
to the theme’s functions.php
But that crashed the page.
Can you help? At this point I’d even be happy just tohide it with CSS
Ok. I got it to work by commenting out the entire add to cart loop in pluging files
But that was sort of the nuclear option. Could you let me know how to use css to just hide it?