News:

Support the VirtueMart project and become a member

Main Menu

VM2 Custom Shopper Number/ID generation/sequencing

Started by mwarshaw, October 09, 2012, 20:58:47 PM

Previous topic - Next topic

mwarshaw

I am setting up a store and want to preserve the customer numbering model previously used in another store (5 digit numeric).  Is there a way to do this?  How and where does VM2 currently generate this number and are there any plugin hooks to create a custom generation/sequencing?

I've searched far and wide and so far have found no reference to this issue.

(VM2.0.12 Joomla 2.5)

alex-link

I have the same problem. Did someone find a solution???

reinhold

#2
My ordernumber plugin now also supports customizing the customer number to your needs (5 digit numeric means simply a format "#", with a minimum digit count of 5):
http://open-tools.net/virtuemart-2-extensions/vm2-ordernumber-plugin.html

To let the customer number counter start from a different value than 1, you will need to modify the mysql database manually, as described in the FAQ.

Please note that customizing the customer number does not work with Virtuemart versions before 2.0.15b.

Cheers,
Reinhold