Page 1 of 1
How Do You Completely Remove Opencart Extensions?
Posted: Mon Feb 01, 2016 9:44 pm
by art123
Hi,
How do you completely remove extensions? As I understand it if you go to Modules, and click on the red box to uninstall, it doesn't actually uninstall it because in some point in the future if you want to reinstall it all you have to do is click on the same box which is now green. Therefore, it isn't actually uninstalled, it is only just disabled. Am I understanding this correctly?
So, how do you actually uninstall extensions to where their files are removed and deleted?
Thanks
Re: How Do You Completely Remove Opencart Extensions?
Posted: Mon Feb 01, 2016 10:58 pm
by artcore
You have to inspect the downloaded extension files (zip?) to see which were added to which folder and remove them manually. This includes any vqmod xmls and uninstalling and deleting + refreshing ocmods.
If there were any database changes, let's hope there's an uninstall function that restores the original state, otherwise you'd have to dive into phpmyadmin (for example) and reverse those too.
If core files were replaced you'd have to get them from the original Opencart download for your version(!)
Piece of cake

Re: How Do You Completely Remove Opencart Extensions?
Posted: Mon Feb 01, 2016 11:20 pm
by viethemes
Re: How Do You Completely Remove Opencart Extensions?
Posted: Tue Feb 02, 2016 1:16 am
by Qphoria
Generally speaking... the default structure of most extensions break down to:
Modules (~6 files):
- admin/controller/module/xxx.php
- admin/language/english/module/xxx.php
- admin/view/template/module/xxx.tpl
- catalog/controller/module/xxx.php
- catalog/language/english/module/xxx.php
- catalog/view/template/module/xxx.tpl
Payment (~7 files):
- admin/controller/payment/xxx.php
- admin/language/english/payment/xxx.php
- admin/view/template/payment/xxx.tpl
- catalog/controller/payment/xxx.php
- catalog/model/payment/xxx.php
- catalog/language/english/payment/xxx.php
- catalog/view/template/payment/xxx.tpl
Shipping (~5 files):
- admin/controller/shipping/xxx.php
- admin/language/english/shipping/xxx.php
- admin/view/template/shipping/xxx.tpl
- catalog/model/shipping/xxx.php
- catalog/language/english/shipping/xxx.php
Now of course any of them could also have additional files, vqmods, ocmods, library files, etc that may need to be removed.
Generally library files are just orphaned and cause no issue by being there. But vQmod and ocmod scripts that rely on the module files may cause issues if not removed.. So like artcore said, inspect the zip file the mod came in and try to find all the files there on your server.
Re: How Do You Completely Remove Opencart Extensions?
Posted: Fri Sep 18, 2020 8:46 pm
by buburuzza
So my files have been oiverwritten.
What now?
How will I remove those extensions?
I have a theme that ois installed by extensoins and I am trying to remove them and I'm not able to
Re: How Do You Completely Remove Opencart Extensions?
Posted: Fri Sep 18, 2020 9:03 pm
by johnp
For me this extension is invaluable:
https://www.opencart.com/index.php?rout ... r_rating=4
If you want to do it manually use Filezilla and remove the relevant MVC-L files.