Jump to content
thirty bees forum

Anyone Please help disabling add to cart button ?


suthanalley67

Recommended Posts

I am trying to disable add to cart button. I have searched a lot and I already followed all these mentioned steps

Create Directories Create Module Create Attribute and Attribute Set Override addtocart.phtml Disable Add to Cart Button Run CLI Commands

I am having error in run command that the module not found. I have seen the code from https://magenticians.com/magento-2-disable-add-to-cart-button/ . Can anyone guide me on this please ?

php bin/magento module:enable Magenticians_Mymodule php bin/magento setup:upgrade php bin/magento setup:dicompile php bin/magento setup:static-content:deploy php bin/magento cache:clean php bin/magento cache:flush

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...