News:

Support the VirtueMart project and become a member

Main Menu

Bestellnummer / Kundennummer

Started by Urs, February 05, 2012, 08:51:29 AM

Previous topic - Next topic

Otto0815

Quote from: jjk on September 30, 2012, 22:43:49 PM
No (afaik), but if you don't like the long 'Shopper Number /ID', you can overwrite it manually to whatever you want. (This has always been possible in VM2)

I would also like to have following order numbers again, like: 371,372,373,......

So, where can i change this manually?

Now, with order numbers like: ce8a0272   it's very complicated if the custumer, for example, want to do the payment, or if they call you and you have to ask for the order number,etc,etc...


elmag2011

#16
Ich habe das Problem gelöst indem ich die Auftragsnummer als Bestellnummer zugewiesen haben mit ein paar PHP Kenntnissen.
Vielleicht schaffe ich es ja ein kleines Module oder Plugin hierfür zu schreiben.

Ein neues Module habe ich entwickelt - ein Produkt Counter
-------------------------------------
Damit den Usern gezeigt werden kann, wie viel Vorrat für einen bestimmten Artikel noch vorhanden ist einfach die Produkt-ID im Module eingeben! - Text kann man vor dem Produkt Counter und nach dem produkt Counter selbst im Module definieren, sowie Modulklasssufix hinzufügen. Im Module selbst kann man die Datenbankdaten eintragen, so das wenn der Virtuemart Shop nicht in der gleichen Datenbank liegt trotzdem funktioniert.
-------------------------------------
Beispiel:
Es sind noch 654 T-Shirts vorhanden! Jetzt zugreifen!
-------------------------------------

Modul auf Anfrage!

reinhold

#17
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).
If you want the invoice number to be simply the order ID, set the invoice number format to "[orderID]".

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]#'... If you want the invoice number to be the same as the order number (this might not fulfill some legal requirements about invoices having successive numbers!), you can simply use '[orderNumber]'.
There are many more possibilities in the plugin!

I hope you like the plugin and it does what you need. If you are missing anything, please let me know.