Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Advanced Ordernumbers for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

pre sale question ordernbr start with 3 caracter.. 05 Sep 2015 14:12 #1

  • edensan
  • edensan's Avatar Topic Author
Hi all,

I wanna buy this pluginn but have question first.

I want to make a ordernumber that starts with tree caracter from category or a manufacturer.
is that possible?
exampl i have categories Monday, Tuesday, Wednesday, Thursday, Friday

they can only order in one category
so now i would have to have that custommer that orders monday the ordernumber starts with mon and then a number

so you get something like this:

mon123456

is that possible?

grtz Edwin

pre sale question ordernbr start with 3 caracter.. 12 Sep 2015 14:45 #2

Dear Edwin,
Yes, you can make a prefix depend on the categories in the order. This can be implemented easily with "Custom Variables" (the last tab in the plugin configuration). Basically, the condition is (assuming your categories have ID 1, 2, 3, etc.):
If "Categories" contains 1 => set the prefix to "mon"
If "Categories" contains 2 => set the prefix to "tue"
etc.

See the attached screenshot:


You can then use the "prefix" variable in your order format:
[prefix]#

Best regards,
Reinhold
Attachments:
  • Page:
  • 1