- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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