Anyone Please help disabling add to cart button

Anyone Please help disabling add to cart button
0

#1

I am trying to disable add to cart button. I already followed all these mentioned steps

Steps to Follow
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/

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

#2

Hi there, while surely someone on here may be able to help you, please keep in mind that PHP is not part of the FCC curriculum. Please try to keep your questions related to technology that is used here. You might want to try Stack Overflow or other external help. Good luck!