Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Ordernumbers for WooCommerce

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:

Vendor Slug Name 17 Oct 2016 22:33 #1

  • Customer
  • Customer's Avatar Topic Author
What is the syntax for:

EVALUATE TO TRUE IF VENDOR_SLUG_NAME = "JOE"

Thank you.

Vendor Slug Name 18 Oct 2016 01:42 #2

Dear Customer,
How exactly do you want your order number to look like? Do you want different number formats for vendor "JOE"?

In general, an order can contain products from multiple different vendors, so there is not a single vendor SLUG in general. However, the plugin provides the "Vendors" variable, which is a list of all vendors SLUGs in the order.

To set a different order number format for vendor JOE, you can use the custom variable definitions (
open-tools.net/documentation/advanced-or...tml#custom_variables):

If "Vendors" contains "JOE" => set variable "ordernumber_format" to "JoesOrders-#"

(The " are there just as a delimiter, enter the values withtout the quotes).

Best regards,
Reinhold
  • Page:
  • 1