How to remove the extension

To remove the extension follow the next steps:

  1. Login in to Magento backend, go to System > Tools > Compilation. Disable Compilation Mode (if enabled).
  2. Remove the following file:

    • app/etc/modules/Mirasvit_Rewards.xml
    • app/etc/modules/Mirasvit_RewardsSocial.xml
  3. If you have only one extension from Mirasvit installed, remove the following file:

    • app/etc/modules/Mirasvit_MstCore.xml
  4. Go to System > Cache Management. Press the button Flush Magento Cache.
  5. Remove the following folders:

    • app/code/local/Mirasvit/Rewards
    • app/code/local/Mirasvit/RewardsSocial
  6. Remove templates and layout files of the extension from your theme folder. The list of such files can be collected from files in the extension package.

  7. Run following SQL Query (before running, replace [db_table_prefix] to your database table prefix. It can be found in the file /app/etc/local.xml)

    SET foreign_key_checks = 0;
    DROP TABLE [db_table_prefix]m_rewards_balance;
    DROP TABLE [db_table_prefix]m_rewards_earning_behavior;
    DROP TABLE [db_table_prefix]m_rewards_earning_rule;
    DROP TABLE [db_table_prefix]m_rewards_earning_rule_customer_group;
    DROP TABLE [db_table_prefix]m_rewards_earning_rule_product;
    DROP TABLE [db_table_prefix]m_rewards_earning_rule_website;
    DROP TABLE [db_table_prefix]m_rewards_notification_rule;
    DROP TABLE [db_table_prefix]m_rewards_notification_rule_customer_group;
    DROP TABLE [db_table_prefix]m_rewards_notification_rule_website;
    DROP TABLE [db_table_prefix]m_rewards_purchase;
    DROP TABLE [db_table_prefix]m_rewards_rate;
    DROP TABLE [db_table_prefix]m_rewards_rate_customer_group;
    DROP TABLE [db_table_prefix]m_rewards_referral;
    DROP TABLE [db_table_prefix]m_rewards_spending_rule;
    DROP TABLE [db_table_prefix]m_rewards_spending_rule_customer_group;
    DROP TABLE [db_table_prefix]m_rewards_spending_rule_website;
    DROP TABLE [db_table_prefix]m_rewards_transaction;
    SET foreign_key_checks = 1;

    DELETE FROM [db_table_prefix]core_resource WHERE code='mst_rewards_setup';
Reward Points