Post by Jassim1 » Sat Jun 19, 2021 11:46 am

Dear forum friends,

I have a wish to completely remove (not just deactivate) as much as possible of all build in modules that come like standard in a OC installation. Of course modules that I'm not using. My current version is 3.0.3.2.

How is this done in best possible way? Is FTP the only way in the end???

New member

Posts

Joined
Thu Jan 16, 2020 4:55 pm

Post by thekrotek » Sat Jun 19, 2021 2:40 pm

Yes, FTP is the only way. You need to remove controller, if you simply don't want them to be displayed in the list. But if you want to remove all files, then you need to remove catalog, mode, language and view both in admin and catalog folders. Sometimes library as well.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by straightlight » Sat Jun 19, 2021 5:39 pm

model . From database as well.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by paulfeakins » Mon Jun 21, 2021 7:52 pm

Jassim1 wrote:
Sat Jun 19, 2021 11:46 am
Dear forum friends,

I have a wish to completely remove (not just deactivate) as much as possible of all build in modules that come like standard in a OC installation. Of course modules that I'm not using. My current version is 3.0.3.2.

How is this done in best possible way? Is FTP the only way in the end???
Was it you who asked this before and everyone told you not to do it?

Anyway if it wasn't; don't do it, there is no good reason to.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Brown784 » Thu Jun 24, 2021 4:42 pm

Jassim1 wrote:
Sat Jun 19, 2021 11:46 am
Dear forum friends,

I have a wish to completely remove (not just deactivate) as much as possible of all build in modules that come like standard in a OC installation. Of course modules that I'm not using. My current version is 3.0.3.2.

How is this done in best possible way? Is FTP the only way in the end???
This code should be placed in the install() method of your controller. This will then be run when your mod is installed under EXTENSIONS > MODULES in the administrator area. Just add this to your controller and it should work (untested)

Newbie

Posts

Joined
Thu Jun 24, 2021 4:40 pm

Post by AliceH » Mon Jan 20, 2025 3:12 pm

paulfeakins wrote:
Mon Jun 21, 2021 7:52 pm
Jassim1 wrote:
Sat Jun 19, 2021 11:46 am
Dear forum friends,

I have a wish to completely remove (not just deactivate) as much as possible of all build in modules that come like standard in a OC installation. Of course modules that I'm not using. My current version is 3.0.3.2.

How is this done in best possible way? Is FTP the only way in the end???
Was it you who asked this before and everyone told you not to do it?

Anyway if it wasn't; don't do it, there is no good reason to.
I have read several times that the preinstalled modules should not be removed, I am very curious to know if there is a good reason not to, I think reducing the clutter of a heap of modules that I am never going to use is a very good reason to remove them. Is it likely to cause problems if they are removed?

https://www.embroidery-allsorts.com/


User avatar
Active Member

Posts

Joined
Sun Jan 09, 2011 11:00 am
Location - Australia

Post by paulfeakins » Mon Jan 20, 2025 7:01 pm

AliceH wrote:
Mon Jan 20, 2025 3:12 pm
I have read several times that the preinstalled modules should not be removed, I am very curious to know if there is a good reason not to, I think reducing the clutter of a heap of modules that I am never going to use is a very good reason to remove them. Is it likely to cause problems if they are removed?
It would be better to hide them in that case.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Mon Jan 20, 2025 9:36 pm

The only way you could remove some of the standard modules is by disabling them first in the admin backend, and then to manually remove the files, e.g.

admin/controller/extension/module/xxx.php
admin/language/*/extension/module/xxx.php
admin/model/extension/module/xxx.php
admin/view/extension/module/xxx.twig

catalog/controller/extension/module/xxx.php
catalog/language/*/extension/module/xxx.php
catalog/model/extension/module/xxx.php
catalog/view/theme/*/template/extension/module/xxx.twig

Though IMHO it's not worth the trouble.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: Semrush [Bot] and 14 guests