VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Ordernumbers for WooCommerce
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: UserRole and guest user

UserRole and guest user 13 Jul 2017 15:10 #1

Hi,

Hi can I crate custom order number with user role and guest user?

to exempel I want to same order number to role of Customer and Guest user.
Attachments:

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

UserRole and guest user 06 Aug 2017 01:08 #2

Dear Yumit,
Your definition for "Customer" should work just fine (just tried it out on our test systems). The check for a guest user (i.e. no user account, which means the UserRoles list is simply an empty list) was not possible so far. However, we just released version 1.4.2 of our plugin, which implements something similar to an "is empty" check. Simplty use "=" and leave the Value field empty. For list/array variables like UserRoles, equals with an empty Value field now means a check for an empty array.



Best regards,
Reinhold
Attachments:

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

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular