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!



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


rules for weight and size 26 Jun 2014 15:02 #1

  • cas
  • cas's Avatar Topic Author

i have products with the same weight but with different shipping costs because of the size, some will fit in an envelope but others have to go in an package because of the size.
Is it possible to make rules for this?

rules for weight and size 07 Jul 2014 21:14 #2

Unfortunately, the plugin is not tailored to calculate product-specific shipping costs (i.e. you cannot have product A have 1€ shipping per item, product B 2€ shipping per item, and the shipping cost of the order simply being the sum of the individual article shipping costs).

In particular, in the calculations you only have the total, maximum and minimum weight/length/width/volume/etc. of the products.

You can use higher shipping costs if the maximum width/length/height is larger than a certain value (these rules should also work with the free version):
Name=large, needs package; MaxWidth>=20; Shipping=5
Name=large, needs package; MaxLength>=20; Shipping=5
Name=large, needs package; MaxHeight>=20; Shipping=5
Name=small, fits in envelope; Shipping=1

Note, however that if you order 10000 small items, they might also not fit into an envelope, even though the rules above would give the cheaper shipping. Similarly, if you order 20 larger items, they will also need a larger box and cost more to ship.

So, it is not easy to give proper (mathematical) conditions when an order fits into a small envelope and when it doesn't.

Best regards,

rules for weight and size 08 Jul 2014 12:52 #3

  • cas
  • cas's Avatar Topic Author
Thanks for your reply.

I will try and test some more with the rules.

[SOLVED] rules for weight and size 08 Jul 2014 12:52 #4

  • cas
  • cas's Avatar Topic Author
Problem solved.
  • Page:
  • 1