1

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

1 Answer 1

3

You can do this by just changing the settings of the products.

For instance, set up a product to not be "saleable", or to have no stock and disable "out of stock" messages site-wide. Then configure the inventory module to still show products out of stock in their categories.

3
  • Phil this is a silly tricky solution:)
    – Amit Bera
    Jun 28, 2016 at 9:36
  • Not every solution requires code, Amit.
    – philwinkle
    Jun 28, 2016 at 14:28
  • Ha ha..your right
    – Amit Bera
    Jun 28, 2016 at 14:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.