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 ?
Anyone Please help disabling add to cart button ?
in English
Posted
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