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


Free shipping if 6 products of 1 category in cart 09 Apr 2017 19:56 #1

Hi , after set shipping per zip code and weight, in a shop i need thath any client thath drop n the cart 6 products of 1 cathegory get free shiping or small shipping depending of the zip code, I try several way but dont work; the last one way thath i try is :
....Name=Italia; 00001<=ZIP<07009; 70<=weight<100; Shipping=34.99
Name=Calabria e Sicilia; 87000<=ZIP<98999; 70<=weight<100; Shipping=57.30
Name=Sardegna; 07010<=ZIP<09200; 70<=weight<100; Shipping=57.30
Name=Italia; 09201<=ZIP<86999; 70<=weight<100; Shipping=34.99....... repeated for each weight range, and at he end
Name=gratuito Italia; 00001<=ZIP<07009; articles==6; Condition=(16 in Categories); Shipping=0
Name=ridotto Calabria e Sicilia; 87000<=ZIP<98999; articles==6; Condition=(16 in Categories); Shipping=4.95
Name=ridotto Sardegna; 07010<=ZIP<09200; articles==6; Condition=(16 in Categories); Shipping=4.95
Name=gratuito Italia; 09201<=ZIP<86999; articles==6; Condition=(16 in Categories); Shipping=0

Could you help me?

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

Free shipping if 6 products of 1 category in cart 22 Apr 2017 16:25 #2

Dear Cheiss,
Do you mean that if a customer buys 6 products from any category, then they get free shipping? Or do you have one particular category that causes free shipping if six articles from that category are in the cart?

The latter case is quite simple to implement:
evaluate_for_categories(Articles, 16) >= 6; Shipping=0

The case, where you get free shipping if you buy six articles from any category is a lot harder if you have many categories. If you have a limited number of categories, you can do the same as for one category and check each category separately. However, if you have many categories, this is not feasible. Unfortunately, there is no easy way to implement free shipping if for an arbitrary category the customer buys at least six articles...

Best regards,

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

  • Page:
  • 1

VM - Shopping cart


Cart empty

Login Formular