Upgrade your TomatoCart Store from 1.1.8.5 to 1.1.8.6!

In this article, I will teach you how to upgrade your 1.1.8.5 store to 1.1.8.6 step-by-step.

Warning: Please backup all your files and database before doing the upgrade. This is a good practice.

1. Database Upgrade

Execute the following sql in your database:

Note: if you had changed the table names (prefix) “toc_” with your tables prefix, please replace the following “toc_” prefix with your own prefix.To check prefix, you can open your database and check beginning of all TomatoCart tables. If you did not use prefix, replace with empty.

2. File Upgrade

If you didn’t modify any system code, please apply following steps to update your system.

Open archive and find includes/configure.php to remove it. Afterwards, you have to copy all the other contents to TomatoCart root directory on your web server. You need to override directories and files if your copy process request confirmation.

That’s it. It would be better to clear all the caches under admin panel > tools > cache control module.

If you just customized your template, please apply following steps to update your system.

Open archive and find the templates directory to remove it. In addition, please delete the includes/configure.php too. Afterwards, you have to copy all the other contents to TomatoCart root directory on your web server. You need to override directories and files if your copy process request confirmation.

//create the article instance to get the articles in each categories
$articles = new toC_Articles();
//get the articles listing for information category
$Qinformation_listing = $articles->getListing(1);
//get articles categories including the articles
$articles_categories = $articles->getCategoriesListing();

Step14. Override includes/javascript/auto_completer.js

– – Unzip the downloaded 1.1.8.6 package and copy the includes/javascript/auto_completer.js into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

Step15. Override includes/javascript/popup_cart.js

– – Unzip the downloaded 1.1.8.6 package and copy the includes/javascript/popup_cart.js into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

Step16. Override includes/javascript/variants.js

– – Unzip the downloaded 1.1.8.6 package and copy the includes/javascript/variants.js into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

Note: if you are using the other languages, please just add these code snippet into the specific language xml file. Then, translate them with the specific language. We will add these languages definitions into the TomatoCart translator platform.

Step20. Override includes/modules/product_listing.php

– Unzip the downloaded 1.1.8.6 package and copy the includes/modules/product_listing.php into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

– Unzip the downloaded 1.1.8.6 package and copy the admin/includes/extmodules/languages/languages_grid.php into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

Step29. Override admin/includes/jsons/languages.php

– Unzip the downloaded 1.1.8.6 package and copy the admin/includes/jsons/languages.php into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

Step31. Go to admin/includes/languages/en_US/modules/ext_desktop.php

msgDeactiveConfirm = Do you really want to deactive the selected record(s)?

– Add following code snippet after it:

msgDeleteLanguageFiles = Do you want to delete the languages files too?

Step32. Override admin/includes/modules/pdf/invoice.php

– Unzip the downloaded 1.1.8.6 package and copy the admin/includes/modules/pdf/invoice.php into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

Step33. Override admin/includes/modules/pdf/order.php

– Unzip the downloaded 1.1.8.6 package and copy the admin/includes/modules/pdf/order.php into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.

Step34. Override admin/includes/modules/pdf/packagingslip.php

– Unzip the downloaded 1.1.8.6 package and copy the admin/includes/modules/pdf/packagingslip.php into the same directory on your web server. Please just override it.

Note: A lot of code are modified in this file. So i recommend you just override it. But, if you had modified this file, please contact us via support@tomatocart.com. We will assist you to update this file.