Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_sidebar.php on line 8

Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_menu.php on line 278

VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

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

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.

WC-Ordernumbers_UserRoles_empty.png


Best regards,
Reinhold
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular