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
|
|
Dear Reinholad,
I've created a VIP group and assign some people in it. My question is if it's possible to add rules concerning the VIP group? Something like that : Name = "Free shipping"; group=VIP; Shipping = 0; Best regards. |
|
Dear Mediafaune,
There is currently no variable available that holds the shopper group. So you cannot use that inside your rules. There is, however, a general condition on shopper groups for every shipping plugin (on the tab where you enter the shipping method name, etc.). Using this, you can simply set up two shipping methods, one for the VIP shopper group and one for all other. Best regards, Reinhold |
|
Dear Reinhold,
Can you give me an example please? Best regards. |
|
You can restrict each shipping method by shopper group. So you would create one shipment method only for VIP users and one for all other shopper groups. In the VIP shipment method you select only the VIP shopper group, in the other shipping method you select all other shopper groups except VIP. Attached is a screenshot where you can find the shopper group configuration for a shipping method (that is a functionality of VM core and nothing my plugin offers in particular).
Best regards, Reinhold |
|
Reinhold, you rock thanks!
Problem solved. |
|
Dear Mediafaune,
In our latest version 6.1.6 of the plugin, we have now also added the VM shopper groups and the Joomla user groups of the customer as list variables. So in your rules, you can now also access the two list variables ShopperGroups and Groups to check whether the customer is in a particular shopper group or joomla user group. Best regards, Reinhold |
|
Hi Reinhold,
Do you have an example of how to use ShopperGroups and Groups to check whether the customer is in a particular shopper group or joomla user group? regards Eliot |
|
Dear Eliot,
Let's assume your VIP shopper group has id 123, your Wholesaler shopper group has id 124 and your "Subscribers" Joomla group has group ID 444, then you can use these like: Name="Free shipping for customers that are VIP *and* wholesaler"; Condition=contains_all(ShopperGroups, 123, 124); Shipping=0
Name="Reduced shipping for VIP"; 123 in ShopperGroups; Shipping=10
Name="Alternative check for VIP"; Condition=contains_any(ShopperGroups, 123); Shipping=10
Name="Subscribers (Joomla group) get 5€ off shipping"; 444 in Groups; ExtraShippingCharge=-5 Best regards, Reinhold |