I opened up these files to try and edit out the Add to cart button//
add-to-cart.php and content-product.php
But I am clueless on how to remove the php function so the button is no longer displayed on the main products page.
I’d only like the button there when a customer is on the product’s single page…
Can anyone help me find the correct file to remove the button?