cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Add to cart button

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Disable Add to cart button

Hello everyone..

There's no purchasing on the website yet..

so I need to disable shopping cart and checkout..

I was able to disable the checkout through the configurations but I can't find anything about the shopping cart..

I want to hide the mini cart from header and the "add to cart" buttons.

Is there an easy way to do so??

I'm using Magento 2.2.6

2 REPLIES 2

Re: Disable Add to cart button

@sima_adham Check below post for the same.

 

https://github.com/MuneebMagenticians/disable-add-to-cart-button-magento2
https://github.com/sbodak/magento2-b2b-disable-add-to-cart-button-for-guest

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

Re: Disable Add to cart button

Try by disabling the mega_checkout. 

 

System > Configuration

In the right sidebar Under Advanced, click on the Advanced tab and select disable from the Mage_Checkout dropdown menu.

 

Checkout this thread for more information: https://magento.stackexchange.com/questions/45802/how-can-i-disable-the-magento-shopping-cart