If a addon no longer serves its purpose and you want to remove it from your store. Besides uninstalling it through the administrative backend of CS Cart would you have to do something else as well ?
Would it hurt if you were to delete the packages from the server as well ?
I am referring to the app / addons folder our would that be an unwise step to follow.
It is enought to uninstall the add-on via administrative back-end. The system will not use it after this action, so, there is no neccessity in delete packages from the server.
If you want to delete packages from app / addons folder firstly uninstall the add-on via administrative back-end. The files of add-on are located not only at app / addons, but also at other folders. Deleting files does not help to clear space on the server.
We have addons in our system and there are newer versions of these updates. I don't want to lose the data with the addon but I don't want to have old files get in the way of the addon or remain on the server for no reason.
What is the best way to update addons?
Uninstall the addon and delete the files and re-install?
Just uninstall and re-upload new addon?
Don't uninstall, re-upload the new addon?
As far as I understand, every addon has different system for uninstall. Some remove the data completely and everytime you install, it creates the tables from scratch. Some retains the data. It is really confusing and I would appreciate if you can share your take on this.
We have addons in our system and there are newer versions of these updates. I don't want to lose the data with the addon but I don't want to have old files get in the way of the addon or remain on the server for no reason.
What is the best way to update addons?
Uninstall the addon and delete the files and re-install?
Just uninstall and re-upload new addon?
Don't uninstall, re-upload the new addon?
As far as I understand, every addon has different system for uninstall. Some remove the data completely and everytime you install, it creates the tables from scratch. Some retains the data. It is really confusing and I would appreciate if you can share your take on this.
Thanks
I will recommend you to ask the add-on developers to reinstall the add-on for you because they can update files, save your data and add the necessary tables, columns, etc to the database. I suppose this service is free in most of companies.
As far as I understand, every addon has different system for uninstall. Some remove the data completely and everytime you install, it creates the tables from scratch. Some retains the data. It is really confusing and I would appreciate if you can share your take on this.
I agree with Oleg. It depends on the developer. But almost all addons delete data in the database on uninstall.
I agree with Oleg. It depends on the developer. But almost all addons delete data in the database on uninstall.
I used to do this for all addons but since there is no 'for="upgrade"' syntax in the addon.xml, things like updating language variables or adding addon settings (or any changes to addon.xml) between versions is more difficult to manage (programatically). We keep the uninstall queries there so the customer can remove the tables manually but being able to uninstall/install without the customer loosing all their prior data has (for us) proven to be of much greater advantage than leaving a table in the DB. Obviously if a customer is re-installing then they want as much of their data preserved as possible. If they're uninstalling and not planning to use the addon any further then removing an added DB schema info is desired. But we find that most want their data preserved.