Re: Zencart upgrade question

Originally Posted by
amebb
I have a question regarding my shopping cart.
At the moment i am running ZC V1.5.8a. It is working well but i want to upgrade it to the latest version.
So my question is if i was to do a fresh installation on the latest version zencart how hard is it then to migrate all the data from my old ZC installaton?
I am more concerned about the product descriptions, users from the data base etc.
Thank you
Relatively easy. These are the basic steps:
1. I export everything from my production database using PHPMyAdmin using the same settings as my regular backups. ( Settings can be provided if required.)
2 If you want everything exactly the same, simply unzip the sql file.
3 Using Mariadb and Heide on my test PC, I load the sql files into an existing ZC2.2.0 database installation.
4 Then using zencart run https:// your-local-IP-address/YOUR-220-databasename/public/zc_install
5 Follow the prompts to upgrade.
The above steps will mirror my zc158a database contents.
This is just for migrating the data, as you have asked.
======================================================
If you have made code changes or have old plugins that use additional database fields there may be more work required.
I personally have made improvements when moving from 158a so I have additional steps to perform before Step 3 above eg remove table prefixes, change database engine for all tables.
When the database is loaded I also have some sql scripts to run to clean out some redundant settings eg old ozpost values and honeypot values.
OldNGrey
ZC158a PHP 8.2.15
MySQL 10.6.16-MariaDB