Things you should know about upgrading to OpenCart v2.x

Started by Randem, January 15, 2016, 04:29:51 PM

Previous topic - Next topic

Randem

When converting your database from a lower version to the latest v2.x. Here are a few things that you need to know and do after using a good upgrade script.
DO NOT use the upgrade script that is in the OpenCart installation it will NOT work!!!


  • If you are going to upgrade, follow these instructions - https://randemsystems.support/opencart/migrating-your-data-from-opencart-version-1-5-6-4-to-version-2-1-0-1/

  • If you are running SSL, edit your config.php files (root & admin) to change ALL references of HTTP to HTTPS.
    There is ABSOLUTELY no reason that a secure site should have insecure content, it will only confuse customers about the safety of your site for credit card purchases.
    Don't create a problem where none should exist!!!

  • Log into the Admin Panel, go to System->Settings to the Store List. Edit all stores and make sure that all the store URL's resolve to the same IP Address (your default store).
    If using SSL, all references should be HTTPS NOT HTTP. This is very important or you will not be able to edit any orders that were transferred over. If you only have one store you will only have one URL.
    This is a very important point if you are converting a live site to a test site or vice-versa.

  • Fix the Layout files for your installation - If you do not do this your layouts will not be properly presented leading to strange behavior in your screens.
    You can also use the version of these files in an VQMOD XML installation file which is located on the page link in number 1.

  • Go to System->Users to create an API user for your store,  this is important in v2.x. There will be a few things that you will not be able to accomplish without an API user.

  • Go to Extensions->Modules you will need to install and create new module types for your layouts.

  • Go to Design->Layouts to create new layouts for your store fronts.

  • Go to System->Settings to assign layouts to your stores.

  • Get your SEO Keywords to work - https://randemsystems.support/opencart/getting-seo-url's-keywords-to-work/


If you need to debug OpenCart, a useful tool can be found here - https://randemsystems.support/opencart/debug-trace-your-opencart-operations/msg6210/#msg6210