An easy but reliable way to upgrade Opencart 1.4 to 1.5 by the programmer, not for other

I did not do a live update, I took my time and created my 1.5.1.1 site in a test environment first. I had to do a lot of programming and database work to get this right. This is not a minor “10 minutes run a script type update”, well that’s my take on it.

All my data ported over except all of the options data. So all the customer order history was preserved with the exception of the options they ordered. You will lose the options in your existing orders so you will want to print any orders that you have not shipped yet. I print all my orders and file them so for me this was not an issue.

The steps I took:

  1. Installed a fresh version of 1.5.1.1 on my test server, We have a VPS so we created a new cPanel for it.
  2. Copied over my 1.4.7 database and image folder only.
  3. Ran Q’s update and followed all his instructions to the letter.
  4. We manually re-entered all my options, added some attributes, basically made all the products look good on the new version.
  5. Modded the heck out of them look a feel and basically made navigation a hi-bred of 1.47 and 1.5.1. I also made the cat/manufacture/specials/search etc.. look like they did 1.4.7.
  6. Created a few mods for myself like Shop by Brand etc. got the style of how I wanted it, all the normal stuff.
  7. 1-5 took me about 4 weeks (not full time) and for the last two weeks, I stopped adding new products to my production site to avoid any double data entry.
  8. Exported customer and order data today from my prod system (customer, order, order_product, order_total, order_history).
  9. Import the customer/order data into my test system and then updated those tables because the tables had changed. I actually just modified Q’s SQL script for those tables plus an insert into a coupon history table.
  10. Backed up my old site files and database. Made a second full backup.
  11. We copied our test site over to production. Updated config.php’s, prayed a little, fixed some SSL issues, errors in the config.php, couple of “Oh crap” moments but I finally ran some test orders and it seems to be running fine. It helps to know PHP, Java, and SQL pretty well.

If you are looking to upgrade Opencart from version 2.3 to 3.0.3.1 and Journal theme 2 to 3 then go to the following link and watch the video tutorial

Previous articlePayment Gateway Provided By TechProcess Solutions Ltd help
Next articleHealth Management Information System- Internship project

LEAVE A REPLY

Please enter your comment!
Please enter your name here