Follow

How to uninstall or disable the extension?

The module install some data and changes in your database. Deinstalling or deactivating the module will make some trouble cause of those data or table changes. You will need to remove those information by following the procedure below otherwise you will meet errors when using the Magento Backend It's a problem due to Magento conception, it's not related to the extension.

Via MageTrashApp

An additional module called MageTrashApp may help you to uninstall this module in a clean way. Install it from Github
If it is installed, go to your backend menu System > Configuration > Advanced > MageTrashApp, then click on the tab "Extension Installed", select the drop down option "Uninstall" of the module Diglin_Ricento and press "Save Config" button to uninstall
If you use this module, you don't need to make any queries in your database as explained below in case of manually uninstallation.

Via Magento Connect

MagentoConnect Manager doesn't allow to remove changes done into your database, it just removes the files installed.
We do not advise you to use it otherwise proceed also the "Database" cleanup process in the chapter "Manually" further below.

Modman (developer)

Same as MagentoConnect, modman can only remove files but cannot cleanup your database. So you can run the command `modman remove Diglin_Ricento` from your Magento root project however you will have to run the database cleanup procedure explained in the chapter "Manually" below.

Manually

Remove the files or folders located into your Magento installation:

app/etc/modules/Diglin_Ricento.xml
app/code/community/Diglin/Ricento
app/design/adminhtml/default/default/layout/ricento.xml
app/design/adminhtml/default/default/template/ricento
skin/adminhtml/default/default/ricento
js/ricento
lib/Diglin/Ricardo

app/locale/en_US/Diglin_Ricento.csv
app/locale/en_US/template/email/ricento
app/locale/fr_FR/Diglin_Ricento.csv
app/locale/fr_FR/template/email/ricento
app/locale/de_CH/Diglin_Ricento.csv
app/locale/de_CH/template/email/ricento
app/locale/de_DE/Diglin_Ricento.csv
app/locale/de_DE/template/email/ricento


Cleanup your database by executing those queries (add your table prefix if relevant)

DELETE FROM MYPREFIX_eav_attribute WHERE attribute_code = 'ricardo_id';
DELETE FROM MYPREFIX_eav_attribute WHERE attribute_code = 'ricardo_username';

DELETE FROM MYPREFIX_eav_attribute WHERE attribute_code = 'ricardo_category';
DELETE FROM MYPREFIX_eav_attribute WHERE attribute_code = 'ricardo_title';
DELETE FROM MYPREFIX_eav_attribute WHERE attribute_code = 'ricardo_subtitle';
DELETE FROM MYPREFIX_eav_attribute WHERE attribute_code = 'ricardo_description';
DELETE FROM MYPREFIX_eav_attribute WHERE attribute_code = 'ricardo_condition';

ALTER TABLE MYPREFIX_sales_flat_quote DROP COLUMN is_ricardo, DROP COLUMN customer_ricardo_id, DROP COLUMN customer_ricardo_username;
ALTER TABLE MYPREFIX_sales_flat_order DROP COLUMN is_ricardo, DROP COLUMN customer_ricardo_id, DROP COLUMN customer_ricardo_username;
ALTER TABLE MYPREFIX_sales_flat_order_grid DROP COLUMN is_ricardo;


DROP TABLE MYPREFIX_ricento_api_token;
DROP TABLE MYPREFIX_ricento_products_listing;
DROP TABLE MYPREFIX_ricento_products_listing_log;
DROP TABLE MYPREFIX_ricento_products_listing_item;
DROP TABLE MYPREFIX_ricento_listing_log;
DROP TABLE MYPREFIX_ricento_sales_options;
DROP TABLE MYPREFIX_ricento_shipping_payment_rule;
DROP TABLE MYPREFIX_ricento_sync_job;
DROP TABLE MYPREFIX_ricento_sales_transaction;
DROP TABLE MYPREFIX_ricento_sync_job_listing;

DELETE FROM MYPREFIX_sales_order_status WHERE status = 'ricardo_payment_canceled';
DELETE FROM MYPREFIX_sales_order_status WHERE status = 'ricardo_payment_pending';

DELETE FROM MYPREFIX_core_resource WHERE code = 'ricento_setup';

 

0 Comments

Please sign in to leave a comment.
Powered by Zendesk