VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Forum

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

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