News:

Looking for documentation? Take a look on our wiki

Main Menu

Prefix/unique invoice numbers

Started by SINNISTER, July 04, 2012, 16:44:24 PM

Previous topic - Next topic

SINNISTER

HI all,

Is there a way i can give the invoice numbers on Viretuemart a prefix/tag only because we have numerous website and i need unique/prefix invoice numbers to keep track of them.

Thanks

Milbo

You can write a small plugin and use the trigger plgVmOnUserOrder, which allows you to manipulate all order data
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

SINNISTER

Great Thanks, But I'm a little out of my depths if Im needing to program/script something.


deepakdhingra

This functionality is required by a lot of people. No one as yet has taken up on creating a plugin like this. Milbo, I am sure that you will make a log of people happy by creating such a plugin that can manipulate invoice and order number.

Why dont you take it up? How much will this cost? I am sure lost of people will be ready to pay for this. I am.

Thanks.

Deepak

reinhold

#4
I have now created such a plugin, which allows the shop owner to change the order number, order password and invoice number at will:
http://open-tools.net/virtuemart-2-extensions/40-vm2-ordernumber.html

The format is given as a text string, where [...] is understood as a variable and replaced by its value (e.g. [year] by the current year).

The running counter is indicated by #. The counter can be configured to be global (e.g. not reset each year/month/..) or a separate counter for each year/month/...

I hope you like the plugin and it does what you need. If you have any suggestions or further needs, just tell me: office@open-tools.net