Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping by Rules for VirtueMart

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!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Customer group VIP 03 Jun 2015 17:28 #1

  • mediafaune
  • mediafaune's Avatar Topic Author
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.

Customer group VIP 09 Jun 2015 02:56 #2

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

Customer group VIP 09 Jun 2015 11:12 #3

  • mediafaune
  • mediafaune's Avatar Topic Author
Dear Reinhold,

Can you give me an example please?

Best regards.

Customer group VIP 12 Jun 2015 18:32 #4

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
Attachments:

[SOLVED] Customer group VIP 17 Jun 2015 15:52 #5

  • mediafaune
  • mediafaune's Avatar Topic Author
Reinhold, you rock thanks!
Problem solved.

[SOLVED] Customer group VIP 28 Aug 2016 21:58 #6

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

[SOLVED] Customer group VIP 24 Jan 2017 18:49 #7

  • eliotrayner
  • eliotrayner's Avatar
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

[SOLVED] Customer group VIP 24 Jan 2017 23:15 #8

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
  • Page:
  • 1