If you decided to remove Magento 2 CMS Display Rules Extension by Magefan, please follow the steps below, also you can contact our team for a free consultation in case you have any issues with Magefan's extension.
Remove Extension Files
Removing files instruction depends on a way CMS display rules extension has been installed.
1. If you can find the extension files in the folder
app/code/Magefan/CmsDisplayRules
then remove this folder.
2. If the extension was installed via the composer and its files located in the folder
vendor/magefan/module-cms-display-rules
then run composer CLI command to remove it
composer remove magefan/module-cms-display-rules
Once extension files have been removed, run these Magento CLI commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Remove Extension Data (optional)
Attention! This will clean all CMS display rules configurations.
1. Just in case please make a full backup (dump) of your Magento 2 database.
2. Run next MySQL queries to remove the extension data. E.g. you can use phpMyAdmin for this purpose.
DELETE FROM setup_module WHERE module = "Magefan_CmsDisplayRules
";
DELETE FROM core_config_data WHERE path LIKE 'mfcmsdisplayrules
/%';
DROP TABLE IF EXISTS magefan_cms_display_rule_page;
DROP TABLE IF EXISTS magefan_cms_display_rule_block;