VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Vendor Slug Name

Vendor Slug Name 17 Oct 2016 22:33 #1

What is the syntax for:

EVALUATE TO TRUE IF VENDOR_SLUG_NAME = "JOE"

Thank you.
The administrator has disabled public write access.

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
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular