Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Best Practice Uninstalling And Removing An Addon Cs Cart V4.3.x Rate Topic   - - - - -

 
  • Mongoose
  • Senior Member
  • Members
  • Join Date: 08-Mar 13
  • 1024 posts

Posted 26 January 2017 - 11:43 AM #1

Just curious.

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.

 

 


running CS Cart V4.10.3.SP1 


 
  • CS-Market
  • Senior Member
  • Authorized Reseller
  • Join Date: 06-Mar 13
  • 715 posts

Posted 26 January 2017 - 12:02 PM #2

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. 

GET A FREE QUOTE  │  CS-Cart add-ons   │   CS-Cart custom development   │  CS-Cart design integration  │  CS-Cart license

Сертифицированный разработчик на CS-Cart Русская Версия. More than 8 years experience in CS-Cart development.


 
  • Alt-team
  • CS-Cart Developer
  • Authorized Reseller
  • Join Date: 18-Jan 11
  • 2842 posts

Posted 26 January 2017 - 12:17 PM #3

Usually, the removal of such add-ons makes no harm to the system. But you should be entirely sure that it is an independent module.

 

First, uninstall via admin panel, then delete all files on the server. 

 

Best regards, Alt-team.


ADD-ONS  Web development service  | CS-Cart dedicated developers

Buy MULTIVENDOR - USD 1150   Buy CS-CART LICENCE - USD 1080 

 Email - manager@alt-team.com | Skype - Altteam    


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22889 posts

Posted 26 January 2017 - 02:28 PM #4

Check additional directories

 

app/addons/ADDON

 

js/addons/ADDON

 

design/backend/templates/addons/ADDON

design/backend/mail/templates/addons/ADDON

design/backend/css/addons/ADDON

 

var/themes_repository/THEME/templates/addons/ADDON

var/themes_repository/THEME/mail/templates/addons/ADDON

var/themes_repository/THEME/css/addons/ADDON

 

var/langs/LANG/addons/ADDON.po

 

Files from store-front will be deleted during uninstallation


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • CS-Market
  • Senior Member
  • Authorized Reseller
  • Join Date: 06-Mar 13
  • 715 posts

Posted 27 January 2017 - 12:00 PM #5

The add-on's files are also located at var/langs/LANG/addons/ADDON.po


GET A FREE QUOTE  │  CS-Cart add-ons   │   CS-Cart custom development   │  CS-Cart design integration  │  CS-Cart license

Сертифицированный разработчик на CS-Cart Русская Версия. More than 8 years experience in CS-Cart development.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22889 posts

Posted 27 January 2017 - 02:20 PM #6

The add-on's files are also located at var/langs/LANG/addons/ADDON.po

 

Thanks. I updated my post


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • mazter
  • Senior Member
  • Members
  • Join Date: 04-Apr 12
  • 275 posts

Posted 01 February 2017 - 05:01 PM #7

Great topic. Quick question on the same subject.

 

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



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3632 posts

Posted 01 February 2017 - 06:13 PM #8

Great topic. Quick question on the same subject.

 

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.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22889 posts

Posted 02 February 2017 - 06:43 AM #9

 

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. 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • mazter
  • Senior Member
  • Members
  • Join Date: 04-Apr 12
  • 275 posts

Posted 03 February 2017 - 12:13 AM #10

Thanks guys. I will reach out to developers from now on.



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12156 posts

Posted 03 February 2017 - 09:10 PM #11


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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.