You are viewing: Newsletter Popup
Here you will learn how to easily remove Magento 2 Newsletter Popup using two methods - via the Automated Removal Script or Composer.
You can choose one of the following two methods to remove the extension from your Magento 2 store.
In order to remove this module by means of a script, please:
1. Download the remove_plumrocket_extensions_for_magento2.zip archive and unpack it.
2. Upload it to the root directory of the site as it is shown below:
3.Please, enter the script path into your browser's address bar and follow this address. The path format is:
where "yourdomain" is the name of your domain.
The screenshot below displays the page that will appear after you run the universal uninstall script:
At this point, Magento 2 Newsletter Popup extension has been successfully removed from your server
In order to remove your Newsletter Popup for Magento 2 extension via the Composer, open the console (SSH terminal) and follow commands:
1. In terminal, switch to your Magento 2 root directory using command:
where "FULL_PATH_TO_YOUR_MAGENTO2" is the path to your Magento 2 folder on your server.
2. Disable the extension:
php bin/magento module:disable Plumrocket_Newsletterpopup
3. Remove the extension:
composer remove plumrocket/module-prnewsletterpopup
4. Run the next three Magento 2 commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy
After running these commands, the extension should be uninstalled successfully. Similar message should be displayed in your console as displayed below:
5. Below you will find the SQL command designed to delete all extension information from the database:
DELETE FROM core_config_data WHERE `path` LIKE 'prnewsletterpopup/%'; DELETE FROM core_resource WHERE `code` = 'Plumrocket_Newsletterpopup'; DROP TABLE IF EXISTS `plumrocket_newsletterpopup_popups`; DROP TABLE IF EXISTS `plumrocket_newsletterpopup_history`; DROP TABLE IF EXISTS `plumrocket_newsletterpopup_history_action`; DROP TABLE IF EXISTS `plumrocket_newsletterpopup_mailchimp_list`; DROP TABLE IF EXISTS `plumrocket_newsletterpopup_form_fields`; DROP TABLE IF EXISTS `plumrocket_newsletterpopup_hold`; DROP TABLE IF EXISTS `plumrocket_newsletterpopup_templates`;
6. Clear Magento Cache:
php bin/magento cache:flush
At this point, your Magento 2 Newsletter Popup extension has been successfully removed from your server.