Addons: Disable Vs Uninstall

Hi, was wondering what happens when you uninstall an addon on CS Cart?

Does it disappear completely from the addon list in admin section, or is it still visible and available to be reinstalled if you change your mind, like the Disable feature?

Hi, was wondering what happens when you uninstall an addon on CS Cart?

Does it disappear completely from the addon list in admin section, or is it still visible and available to be reinstalled if you change your mind, like the Disable feature?

Uninstall will

- remove addon files from themes

- run sql queries for uninstall (usually deletes corresponding tables or columns in DB)

- run functions for uninstall (depends on the module)

The mentioned 3 items will not be processed if you just disable the module

And the addon will still be listed in the "All avaiable addons" tab.

The addon will also be removed from the cscart_addons table and the related settings will be deleted from the cscart_settings_objects table.

The addon ffiles under app/addons, js, design/backend/ and the files under var/themes_repository/ will all remain.

Thank you for your response, it was very helpful.

So, if I uninstall one of the core addons, and it is removed completely as you said from the CS Cart installation online, is there a way to reinstall it later on? In other words, can I reinstall it from the original script addons folder (app/addons) later on with no problems or conflicts?

Following article describes what happens when an add-on is installed, uninstalled, activated or deactivated:

https://docs.cs-cart.com/4.8.x/developer_guide/addons/addon_management.html

Thank you for your response, it was very helpful.

So, if I uninstall one of the core addons, and it is removed completely as you said from the CS Cart installation online, is there a way to reinstall it later on? In other words, can I reinstall it from the original script addons folder (app/addons) later on with no problems or conflicts?

It will not be completely removed. The system just removes files from themes. If addon is installed again later, they will be restored from theme repository.

So you can uninstall core addons without any worries

Is there a way to completely remove it from the directory? Or is the only way to hunt and delete each individual file?

It takes a custom script to "remove" an addon versus "uninistall" it. Note also that things like language variables remain as well as possibly other DB entries on uninstall.

Is there a way to completely remove it from the directory? Or is the only way to hunt and delete each individual file?

Unfortunately, CS-Cart does not offer such functionality