Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Advanced Ordernumbers for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Migrating data from VM2 site - Help or advice 12 Jan 2016 14:19 #1

  • sandstorm871
  • sandstorm871's Avatar Topic Author
I have used your ordernumber plugin for some time on a J2.5/VM2 site, but am now migrating all data over to a J3/VM3 site.

I have used the 3rd party component "VM Migrater" to help me migrate the majority of my data over, including users & previous order numbers.

In the new J3/VM3 site I now have all my previous orders synced, but the order numbers are now all different, as they dont yet use your order number plugin.

Is there a way to copy data over from the old VM2 site to the VM3 site?
Or is it a case of staring again from the next newest order?

Thanks in advance

Andy

Migrating data from VM2 site - Help or advice 16 Jan 2016 12:23 #2

Dear Andy,
The plugin does not use any special database table to store the order numbers. It rather uses the ordernumber database field of VirtueMart's orders. So if that migrator properly copies all orders, it should also copy the ordernumber and thus keep the original ordernumbers assigned by the plugin. Apparently, that VM Migrator does not properly copy all order properties like the order number, but rather assigns a new one.

The only thing that the plugin stores in its own database table is the current value of each counter (which is used for future orders to continue your existing numbering scheme). I suppose you'll have to manually add all relevant counters that existed in your J2.5/VM2 site and set them to the same value.
The ordernumbers already assigned are not handled by the plugin any more, but directly in VirtueMart. I appears to me that it is a bug of the VM Migrator that it does not properly migrate the ordernumbers already assigned in your old installation.

Sorry that I don't have better news, but apparently it's a bug in the migrator. You should contact the author of the migrator.

Best regards,
Reinhold

PS: So far, I have not had any need for an explicit migrator from VM2 to VM3. I always simply updated VirtueMart on the J2.5 installation to VM3 on J2.5 and then updated Joomla to J3 (which is more or a hassle due to some extensions being not available any more for J3).

Migrating data from VM2 site - Help or advice 18 Jan 2016 13:50 #3

  • sandstorm871
  • sandstorm871's Avatar Topic Author
Hi Just an update here.

My site was a big J2.5 site that used many dynamic parent/child products using the stockable variant plugin.
I have found the VM Migrator to have been fairly stress free & migrated all my data over.

I had to use CSVi to alter the relationship with parent/child product to make the work using the newer multivariant plugin & after a few hours, we got it all working.

The VM Migrater has also copied all my previous shopper & orders information over correctly too & when I installed the latest version of you ordernumber plugin, I saw that all the bespoke order numbers where back in place too.

So all in all, the migration has gone very well, I have everything I ned working and my historic orders are present, with the correct order numbers intact.

Thanks
Andy

[SOLVED] Migrating data from VM2 site - Help or advice 29 Jan 2016 11:14 #4

Problem solved.
  • Page:
  • 1