cancel
Showing results for 
Search instead for 
Did you mean: 

Can I disable the shopping cart?

Can I disable the shopping cart?

Hi!

Is there a way to disable the shopping cart and checkout in Magento?

The idea is to have the online store remain online but not allow purchases. Shop will be closed for a certain amount of time.

10 REPLIES

Re: Can I disable the shopping cart?

Hi @MayaIsland,


Yes, is possible to disable several modules that blocks the transactional features (maybe you will need some small customization to remove/hide some Call To Action).

 

 

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Can I disable the shopping cart?

Thank you for your response.

Where can I find information on how to do this?

Re: Can I disable the shopping cart?

Hi @MayaIsland,

 

Which version of Magento are you using?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Can I disable the shopping cart?

version 2.2.1

Re: Can I disable the shopping cart?

Hi @MayaIsland,

 

Since Magento 2.2.x you won't be able to disable modules from backend but you can use the console.

Running something like:

 

bin/magento module:disable Vendor_Module

Where Vendor_Module is the full name of the module you want to disable.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Can I disable the shopping cart?

Thanks! And to enable - just run with the word enable?

Re: Can I disable the shopping cart?

Hi @MayaIsland,

 

Exactly.

Also, if you run:

 

bin/magento

You'll get the whole list of avaibale commands.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Can I disable the shopping cart?

Thank you again -  I really appreciate your time and support.

 

How do I find out what the actual "vendor_module" is called for the shopping cart?

 

M.

Re: Can I disable the shopping cart?

Hi @MayaIsland,

 

In this case the module is (please run your test on another environment than LIVE):

 

bin/magento module:disable Magento_Checkout
--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"