Here you will learn how to easily remove Magento 2 US Privacy Laws extension from your Magento.
Step 1. Switch to your Magento 2 root directory in the terminal
cd /FULL_PATH_TO_YOUR_MAGENTO2
where “FULL_PATH_TO_YOUR_MAGENTO2” is the path to your Magento 2 folder on your server.
Step 2. Disable the extension:
php bin/magento module:disable Plumrocket_CCPA
Step 3. Remove the extension files
For Composer installation
composer remove plumrocket/ccpa-metapackage
For non-Composer installation
rm -rf app/code/Plumrocket/ccpa-metapackage
Step 3. Update static resources
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
bin/magento cache:flush
At this point, the US Privacy Laws Magento 2 extension has been successfully removed from your server.
Was this article helpful?