VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mwarshaw on October 09, 2012, 20:58:47 PM

Title: VM2 Custom Shopper Number/ID generation/sequencing
Post by: mwarshaw on October 09, 2012, 20:58:47 PM
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)
Title: Re: VM2 Custom Shopper Number/ID generation/sequencing
Post by: alex-link on December 12, 2012, 16:00:04 PM
I have the same problem. Did someone find a solution???
Title: Re: VM2 Custom Shopper Number/ID generation/sequencing
Post by: reinhold on January 09, 2013, 21:43:22 PM
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