Difference between revisions of "LiteCommerce:Upgrading"
Line 30: | Line 30: | ||
{{note|If you have patched the cart with the recent hotfix-pack (SP1) and now want to upgrade the cart to the 2.1 version, you'll need first to comment out some strings in the upgrade files. In this case please question us for additional instructions.}} | {{note|If you have patched the cart with the recent hotfix-pack (SP1) and now want to upgrade the cart to the 2.1 version, you'll need first to comment out some strings in the upgrade files. In this case please question us for additional instructions.}} | ||
− | If you don't want to upgrade your cart, you can just install plain new LC | + | If you don't want to upgrade your cart, you can just install plain new LC of the latest version. However, the mysql database structure is different for LC of different versions. So, in order to transfer all products from one LC version to another, you should |
− | * export your products with product options in your LC | + | * export your products with product options in your old LC store (admin area / 'Export catalog' page) |
− | * after the installation of the LC | + | * after the installation of the latest LC version is completed, import the products into your new version |
The success of upgrade procedure depends on how heavily your store has been customized. If you experience any upgrade problems you can turn to our support team for help. | The success of upgrade procedure depends on how heavily your store has been customized. If you experience any upgrade problems you can turn to our support team for help. | ||
[[Category:LiteCommerce user manual]] | [[Category:LiteCommerce user manual]] |
Revision as of 20:58, 9 November 2010
If you'd like to upgrade your cart, you are supposed to use our LC upgrade patches for it. LiteCommerce upgrade package includes PHP files for upgrading LiteCommerce kernel classes, template files for upgrading LiteCommerce skins, new files to add and upgrade PHP script for patching templates and SQL database. All your data will be saved through the upgrade procedure, only some new tables and fields can be added
Upgrade patches are stored in 'File area'->'LiteCommerce upgrade kits' section of your X-Cart Account.
You need to download the file 'upgradeX.X.X-Y.Y.Y.tgz' where X.X.X is your current version number and Y.Y.Y is the desired one. Each upgrade archive contains the 'UPGRADE.readme' file with the necessary upgrade notes.
After you get the upgrade patch to your server, follow the steps below:
1) Unpack the upgraded package archive into LiteCommerce root directory:
tar -xvf upgradeX.X.X-Y.Y.Y.tgz
2) Open the following URL in your web-browser to launch the upgrade script: http://your_store_url/admin.php?target=upgrade&action=upgrade&from_ver=X.X.X&to_ver=Y.Y.Y
3) The upgrade log console will appear with upgrade diagnostic messages. - If the upgrade was successful, you will get the message 'LiteCommerce has been successfully upgraded to version Y.Y.Y'.
If upgrade fails, you will get the list of rejected updates which you'll have to apply manually.
If you don't want to upgrade your cart, you can just install plain new LC of the latest version. However, the mysql database structure is different for LC of different versions. So, in order to transfer all products from one LC version to another, you should
- export your products with product options in your old LC store (admin area / 'Export catalog' page)
- after the installation of the latest LC version is completed, import the products into your new version
The success of upgrade procedure depends on how heavily your store has been customized. If you experience any upgrade problems you can turn to our support team for help.