Thursday, March 29, 2012

Update and migrate from Virtuemart v1.1.x to v2.0.x

Recently Virtuemart launched version 2, This tutorial will show you how to update your Virtuemart version from 1.1.x to 2.0.x.

The migration utility in new virtuemart move  from database this data:
  • products
  • orders
  • product categories
  • manufacturers
  • manufacturer categories
  • shopper groups
and you must add manually this data:
  • product types
  • product attributes
So firstly do a backup of your website and use it in local server , don't touch your live website
  1. Use an FTP program or your file manager to create a directory for your media files that is located at /images/stories/virtuemart/.
  2. Copy all of the files located in /components/com_virtuemart/shop_image/ to this new folder at /images/stories/virtuemart/.
  3. go to /components/com_virtuemart/ and rename the entire /com_virtuemart/ folder. I used the word _old in the image below so it would be easy to spot the change to /old_com_virtuemart/.
  4. disable the Joomla debug option (Go to Site > Global Configuration, Go to the System Tab, Choose No for Debug System, Click Save
  5. disable all the Virtuemart plugins and modules
  6. Install Virtuemart 2 (only this file com_virtuemart.2.0.2.zip)
  7. After successful installation click on "go to the shop"
  8. Install AIO component (this file com_virtuemart.2.0.2_ext_aio.zip)
  9. Enable the database update tools (Go to Components > Virtuemart, Click Configuration, Click the Shop tab and scroll down,Check to enable database tools,Click Save)
  10. Set up the migration (Go to Tools and click the Migration tab, Increase the max_execution time, I set mine at 100, Increase the Memory Limit, I set mine to 256MB), Check the "everything" radio button, click on this before you start., Click Start Migration.

Disqus Comments