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!

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


Shipping by skus 08 Sep 2016 17:08 #1

Hi all,

I have simple question.

I want a shipment method that will show if certains SKUs are in the cart only. For example, let's say I have SKUs A, B and C. I want a rule that will show up if the cart contain any of those SKUs but nothing else.

So if the cart have 2 products A and 4 products B, it will show up. But if there is also a product Z in the cart, it will not show up.

That seems really simple but I can't find any way to do that.

Any help will be appreciated. Thanks!

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

Shipping by skus 11 Sep 2016 11:51 #2

Dear Ologix,
You can use the contains_only function to check whether the list of skus contains only those two:
Condition=contains_only(SKUs, "SKU-A", "SKU-B", "SKU-C");  Shipping=999

Best regards,

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

  • Page:
  • 1

VM - Shopping cart


Cart empty

Login Formular