
|
VirtueMart is absolutely huge. By some counts, it stands second in popularity amongst all eCommerce platforms. Last year we explained how to use it in a very detailed tutorial. Nearly all Virtuemart shops run version 1.1 but recently Virtuemart launched version 2.0. This tutorial will show you how to move your Virtuemart installation from 1.1 to 2.0. What you need to knowMigrating Virtuemart from 1.1 to the newest 2.0 version seems fairly simple with the migration utility that is built into Virtuemart. However there are a few potential pitfalls. The migration utility does move this data:
However, the migration utility does not move the following items. You will need to manually add this data:
In this tutorial, we'll walk you through the process of moving from 1.1 to 2.0. Also, please make sure that you try this first on a development copy of your site. As we always advise: DO NOT ATTEMPT AN UPGRADE ON A LIVE, WORKING SITE. Here's a tutorial on creating a development copy of your Joomla site.
Step 1: Download the Virtuemart files![]() Go to http://virtuemart.net and download two things:
Step 2. Move your media into /images/stories/virtuemart/![]()
![]() Step 3. Rename your old com_virtuemart foldersUsing your file manager or FTP program to go to /components/com_virtuemart/ and rename the entire /com_virtuemart/ folder. I used the word ORIGINAL in the image below so it would be easy to spot the change to /ORIGINALcom_virtuemart/. ![]() Step 4. Disable the Joomla debug option plus Virtuemart modules and pluginsWe need to go to the Joomla configuration and disable the Joomla debug option.
![]() We also need to disable all of the Virtuemart modules.
If there are any green checks, for Virtuemart modules change them to red x's. ![]() We also need to disable all the Virtuemart plugins:
![]() Finally, if you have it installed, also disable the Akeeba System - System Restore Points plugin. Step 5. Set the default language![]()
Step 6. Install Virtuemart 2When you download Virtuemart it comes in a compressed package that needs to be unzipped first. In fact, the download package will tell you to do this by having a name such as com_virtuemart.2.0.2_extract_first.zip. After unzipping you will see two files:
You only need to install the com_virtuemart.2.0.2.zip file Complete the installation of this file before you add the AIO (All-in-one) package. The AIO contains all the plugins and modules you'll need. Go to Extensions > Install/Uninstall (or Extensions > Extensions Manager) in Joomla 2.5 and upload the files for Virtuemart 2.0. The file you want to upload will have a name such as com_virtuemart.2.0.3.zip.
![]() The image below shows the successful installation response screen. You won't need to install sample data.
![]() You can now go to Components > Virtuemart and confirm that all your data is intact and the upgrade has been made. If it was installed successfully, you'll see a screen like the image below. If anything went wrong, you'll see an error message, which seems to be a frequent result according to forum reports. However it's a simple fix. If you get an error message, uninstall Virtuemart 2 and reinstall it once more. ![]()
Step 7. Install AIO componentReturn to the Extensions > Install/Uninstall and upload the AIO (All In One) component. This will have a name such as com_virtuemart.2.0.2_ext_aio.zip. ![]()
Step 8. Deactivate an incompatible pluginIf you have a Joomla 1.5 site, you will get an error message if you try to view the site now. The reason is that a Joomla 2.5 plugin was installed with the AIO component. If this is a 1.5 installation, the site will not load correctly. Here's how to fix it:
If you are locked out of your admin, you can turn off the module using phpMyAdmin as explained in this tutorial. ![]() ![]() Check your site now. If it works, we let's get the migration going.
Step 9. Enable the database update tools
![]() Step 11. Set up the migration
![]() You already made these changes in the step above, but If you want to increase these manually, open your php.ini file in a script editor and change the parameters as needed. If you need help, here are two tutorials we have available for free, that will give you some guidance in finding the file and making changes. ![]() Once the migration is complete, you'll see an screen like the image below. Mostly blue is a good sign. At this point you don't need to be too concerned about the error messages. You still need to configure all the details of your store, so that's the next step. That will correct these error messages.
![]() Now go ahead and previewing the site. It shows you that all the products were imported and everything is working.
![]() Congratulations! At this point your migration to Virtuemart 2 has gone as far as the in-built migration utility will take you.
Now you can configure your store by going to Components > Virtuemart > Configuration. We have a great tutorial on how to configure Virtuemart if you need it.
All the best with your new Virtuemart 2 store!
|

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
Copyright 2013 Open Source Training, LLC. All rights reserved.
Comments
You should never do upgrades like this on a live version of your site, and never without a backup first.
Personally, I use Akeeba Backup to make VERY easy backups, plus their Kickstart.php to do restores, which is very easy.
It didn't come across in the migration and my site doesn't look the same (terrible actually).
Can you suggest what steps to take from here?
First of all thank you for your great tutorial.
I have 6872 products in my old VM(v.1.1.9) installation. After migration, I can see 6677 products in my shop totally and apparently VM migrator skips some products while it migrates the categories perfectly. I tried the migration several times and every time got the same result(6677 products) . I'd greatly appreciate if you give me a solution.
Thank you in advance.
now when i try to install through installer com_virtuemart 2.0 in joomla 1.5 then error comes and site totally disappear.
can u help me that how could i shift in to virtuemart 2.0 in joomla 1.5? because when i try step 6 i got error
Saved me a lot of work.
And - if I by mistake disable more than only the VM plugins, does it do any harm?
Thanks,
Peter
i have follow all your steps mention here but i got this error
vmError: port Orders db error Illegal mix of collations (utf8_general_c i,IMPLICIT) and (utf8_unicode_c i,IMPLICIT) for operation '=' SQL=SELECT `o`.*, `op`.*, `o`.`order_numb er` as `vm1_order_numb er`, `o2`.`order_num ber` as `nr2` FROM -- vm_orders` as `o` LEFT OUTER JOIN -- vm_order_paymen t` as `op` ON `op`.`order_id` = `o`.`order_id` LEFT JOIN -- virtuemart_orde rs` as `o2` ON `o2`.`order_num ber` = `o`.`order_numb er` WHERE (o2.order_numbe r) IS NULL LIMIT 0,201400
vmError: port Orders db error SELECT `o`.*, `op`.*, `o`.`order_numb er` as `vm1_order_numb er`, `o2`.`order_num ber` as `nr2` FROM -- vm_orders` as `o` LEFT OUTER JOIN -- vm_order_paymen t` as `op` ON `op`.`order_id` = `o`.`order_id` LEFT JOIN -- virtuemart_orde rs` as `o2` ON `o2`.`order_num ber` = `o`.`order_numb er` WHERE (o2.order_numbe r) IS NULL LIMIT 0,201400
can you provide any help in that?
Thanks
Thanks
I have error, not images migration to new version, and when change language to spanish, not appear categories and products, and show this message:
"vmError: exeSortSearchLi stQuery Table 'infoco.j25_vir tuemart_categor ies_es_es' doesn't exist SQL=SELECT c.`virtuemart_c ategory_id`, l.`category_des cription`, l.`category_nam e`, c.`ordering`, c.`published`, cx.`category_ch ild_id`, cx.`category_pa rent_id`, c.`shared` FROM `j25_virtuemart _categories_es_ es` l JOIN `j25_virtuemart _categories` AS c using (`virtuemart_ca tegory_id`) LEFT JOIN `j25_virtuemart _category_categ ories` AS cx ON l.`virtuemart_c ategory_id` = cx.`category_ch ild_id` WHERE cx.`category_pa rent_id` = 0 ORDER BY category_name DESC"
Can you help me?
Thank you very much
but it stop at step 8
now i dont have VM - Search, Virtuemart Product.
and my offline site is blank (white page :) )
any suggestion?
but i did follow the steps to the end
and still white page
I dont have a"VM - Search, Virtuemart Product" plugin to disable. I disable just a plugin named: Virtuemart Product (type: search) thinking maybe is it the same, but my vm shop doesn´t run.
Any suggestion? (I´m in Joomla 1.5.26)
Thanks in advanced!
I read the guide a dozen times and I have not made any mistakes.
I can not understand where is the problem ..
Give me a hand please?
vmError: port Orders db error SELECT `o`.*, `op`.*, `o`.`order_numb er` as `vm1_order_numb er`, `o2`.`order_num ber` as `nr2` FROM -- vm_orders` as `o` LEFT OUTER JOIN -- vm_order_paymen t` as `op` ON `op`.`order_id` = `o`.`order_id` LEFT JOIN -- virtuemart_orde rs` as `o2` ON `o2`.`order_num ber` = `o`.`order_numb er` WHERE (o2.order_numbe r) IS NULL LIMIT 0,201400 Does anyone know how to fix this error?