News:

Looking for documentation? Take a look on our wiki

Main Menu

vminvoice_XXXX.pdf customization

Started by Pte_Thunderball, November 05, 2012, 12:29:25 PM

Previous topic - Next topic

Pte_Thunderball

Hi Guys i have been scouring the forums and i have found many posts asking how invoice numbers and order numbering could be customized - has anyone found a workable solution to this please point me in the right direction we would very much like to have a custom invoice numbering.

reinhold

#1
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/...
If you only want the order number as a running count, the format is simply '#' (without the quotes). If you want to prefix the order/invoice numbers by the year or year+month then the format it simply '[year]-#' or '[year2][month]#'...

I hope you like the plugin and it does what you need.

Pte_Thunderball

Hi Reinhold,

Apologies for not getting back sooner. I have not gotten 'round to trying out your plugin (been a bit swamped in other projects). I will be sure to give it a go and give you some feedback thanks for the response.