Author Topic: Prefix/unique invoice numbers  (Read 512 times)

SINNISTER

  • Beginner
  • *
  • Posts: 14
Prefix/unique invoice numbers
« on: July 04, 2012, 08:44:24 AM »
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

  • Virtuemart Projectleader
  • Administrator
  • Hero Member
  • *
  • Posts: 4144
  • VM2 ready to take off
    • VM2 Extensions
  • VirtueMart Version: 2.1
Re: Prefix/unique invoice numbers
« Reply #1 on: July 05, 2012, 02:17:49 AM »
You can write a small plugin and use the trigger plgVmOnUserOrder, which allows you to manipulate all order data
Seminar/Workshop for virtuemart by the core team http://extensions.virtuemart.net/certifications/certification-of-virtuemart-2-detail
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

SINNISTER

  • Beginner
  • *
  • Posts: 14
Re: Prefix/unique invoice numbers
« Reply #2 on: July 05, 2012, 03:58:27 AM »
Great Thanks, But I'm a little out of my depths if Im needing to program/script something.


deepakdhingra

  • Beginner
  • *
  • Posts: 15
Re: Prefix/unique invoice numbers
« Reply #3 on: November 08, 2012, 14:42:29 PM »
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

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 104
Re: Prefix/unique invoice numbers
« Reply #4 on: November 14, 2012, 08:02:35 AM »
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

VirtueMart Forum

Re: Prefix/unique invoice numbers
« Reply #4 on: November 14, 2012, 08:02:35 AM »