News:

Looking for documentation? Take a look on our wiki

Main Menu

Migrate from K2 to Virtuemart

Started by nicobond, April 01, 2016, 00:45:44 AM

Previous topic - Next topic

nicobond

I have to migrate all contents from K2 to Virtuemart 3 to create a small ecommerce website. Is there any tool for migration? Concerning K2 item's photos, I know that there's not any table in the database that stores items' photos. How is possible to migrate them to Virtuemart? Is there any solution?

GJC Web Design

IMHO only coding a script manually to export the K2 stuff into a csv or xml and use csvi to import (or directly import)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

nicobond

At the end I managed to export all K2 item data (except the images) by exporting all K2 tables from phpmyadmin.
If you want to import them to Virtuemart you have to remap all columns in the CSV exported.
For the images the only solution I found is to generate for every K2 item its md5 hash (for those who are interested you have to convert the string "Image[K2 item id]" into a md5 hash).
After that I added all md5 hashes into the Virtuemart media table.
It's not necessary to write any particular php script, it's only a datasheet job.