Hello All,
Today I needed to disable and enable a plugin in Magento 2. Thought of sharing the steps with you all as I believe this is a common thing that every developer needs to do often.
Step 1: Open the app/etc/config.php
Step 2: Locate the plugin you want to disable/enable. Change the value to 0 for disable and 1 for enable.
Step 3: Now you have to run some commands from your magento 2 installation folder.
php -d memory_limit=-1 bin/magento setup:upgrade
php -d memory_limit=-1 bin/magento setup:di:compile
php -d memory_limit=-1 bin/magento cache:clean && php bin/magento cache:flush
Step 4: Thats it. Now go and check the plugin under – Stored -> Setting -> Configuration