Skip to main content
added 44 characters in body; edited title
Source Link
Dynomite
  • 632
  • 1
  • 6
  • 19

Magento2 > Safely disable Add-To-Cart buttons

EDIT: This post apply to Magento 2.x

I would like to remove all add-to-cart button instances from my website. I know I could do it from various way (removing that block with xml, removing from phtml...), while this is not an issue for me, I would like to know if there is a really safe way to do it in case I would have forgot to remove it from some place or the other. I want to completely remove the checkout and cart feature but wishlist and compare must stay.

Some specs:

  1. Compare and wishlists are still enabled
  2. Prices are listed

Safely disable Add-To-Cart buttons

I would like to remove all add-to-cart button instances from my website. I know I could do it from various way (removing that block with xml, removing from phtml...), while this is not an issue for me, I would like to know if there is a really safe way to do it in case I would have forgot to remove it from some place or the other. I want to completely remove the checkout and cart feature but wishlist and compare must stay.

Some specs:

  1. Compare and wishlists are still enabled
  2. Prices are listed

Magento2 > Safely disable Add-To-Cart buttons

EDIT: This post apply to Magento 2.x

I would like to remove all add-to-cart button instances from my website. I know I could do it from various way (removing that block with xml, removing from phtml...), while this is not an issue for me, I would like to know if there is a really safe way to do it in case I would have forgot to remove it from some place or the other. I want to completely remove the checkout and cart feature but wishlist and compare must stay.

Some specs:

  1. Compare and wishlists are still enabled
  2. Prices are listed
Source Link
Dynomite
  • 632
  • 1
  • 6
  • 19

Safely disable Add-To-Cart buttons

I would like to remove all add-to-cart button instances from my website. I know I could do it from various way (removing that block with xml, removing from phtml...), while this is not an issue for me, I would like to know if there is a really safe way to do it in case I would have forgot to remove it from some place or the other. I want to completely remove the checkout and cart feature but wishlist and compare must stay.

Some specs:

  1. Compare and wishlists are still enabled
  2. Prices are listed