VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum

We are currently unable to provide proper support!

We are very sorry to announce that we are currently very busy working on some huge, very time-consuming and time-sensitive projects, so currently we are unable to provide proper support in our forums! We hope that after the conclusion by the end of July we will be able to properly answer all open support requests.

Sorry for the inconvenience and thank you for your understanding!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Vendor Slug Name

Vendor Slug Name 17 Oct 2016 22:33 #1

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

EVALUATE TO TRUE IF VENDOR_SLUG_NAME = "JOE"

Thank you.

Please Log in or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular