Magento 2 Product – How to Remove Add to Cart from Catalog/Category/View

magento2product

when you browse through a category

www.url.com/catalog/category/view/

you can see several products.

I want to remove the add to cart button from these.
You should only be able to put them into the cart when you are on the detailed page of the product.

Edit: here you can see a picture

I am not able to find the right template.
Do you know how I can do this?

Thanks!

Edit: Anyone knows how to remove the hover effect when you hover over a product?

Best Answer

I have looked into this using a Magento version 2.2.4

For me, the add to cart button dissapears after commenting some html in the template below: app/design/frontend/<your_theme_namespace>/<your_theme_name>/Magento_Catalog/templates/product/list.phtml line 78

you may comment the html starting with <div class="actions-primary" (line 78 until line 104 (line closing this div)

Related Topic