VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

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

TOPIC: Can I test user account role during calculation?

Can I test user account role during calculation? 16 Feb 2018 13:17 #1

Hello

I just want to ask you if there is a way I can get user role in the commands I write.

I lets say want to have a basic shipping rules for all the customers but when user role is B2B I want to have a different price. Can I implement this with your plugin???

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

Can I test user account role during calculation? 16 Feb 2018 20:48 #2

Dear Gchron,
Yes, with the advanced (i.e. paid) version of the plugin you can check for user roles:
open-tools.net/documentation/advanced-sh...merce.html#variables

The corresponding variable is UserRoles and it is a list, so you would add a condition like
Name=B2B; "b2b" in UserRoles; Shipping=0

Best regards,
Reinhold

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

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular