Skip to content

uninstall

tzyganu edited this page Nov 20, 2014 · 1 revision

#Uninstall

To unsintall the extension remove the following files and folders

  • app/code/community/Easylife/Switcher/
  • app/design/adminhtml/default/default/layout/easylife_switcher.xml
  • app/design/adminhtml/default/default/template/easylife_switcher/
  • app/design/frontend/base/default/layout/easylife_switcher.xml
  • app/design/frontend/base/default/template/easylife_switcher/
  • etc/modules/Easylife_Switcher.xml
  • app/local/en_US/Easylife_Switcher.csv
  • js/easylife_switcher/
  • skin/frontend/base/default/css/easylife_switcher/
  • skin/frontend/base/default/images/easylife_switcher/

Run these queries on your database (add table prefix if you have one):

  • DELETE FROM core_config_data WHERE path LIKE 'easylife_switcher/%';
  • DELETE FROM core_resource WHERE code = 'easylife_switcher_setup';

If you are running a version > 1.1 and < 2.0 then you need to drop a table also

  • DROP TABLE easylife_switcher_hascode;

The extension adds a new attribute to the configurable products. To identify it run this query (if you changed the attribute code before install change it in this query also):

SELECT 
    e.attribute_id, e.attribute_code 
FROM 
    eav_attribute e 
    LEFT JOIN eav_entity_type et 
    ON e.entity_type_id = et.entity_type_id 
WHERE 
    e.attribute_code = 'default_configuration_id' AND 
    et.entity_type_code = 'catalog_product'`

To delete it just run

DELETE FROM eav_attribute where attribute_id = 'ATTRIBUTE ID FROM PREVIOUS SELECT'.
Clone this wiki locally