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


MaxVolume for multiple products 13 Jan 2014 02:56 #1

  • Sorken
  • Sorken's Avatar Topic Author

I was thinking that if i use MaxVolume and i have height, width and length specified for all my products that the plugin would figure out how many products can fit in a specific box, so that if someone orders two things they can fit into one type of package but if they order lets say five things that will be too big in total so it moves to the next box size.

When i try to use MaxVolume i cant get it to work like this. It seems like it only looks at the volume of one single item no matter how many of them you add? Or if im just doing something wrong, how do write the rule to make it work like i want to? Can you give me some pointers?

What i have now is just (in grams and millimeters):
Name=Small package; Weight<=235; MaxLength<=170; MaxWidth<=130; MinHeight<=35; MaxVolume<=773500; Shipping=23.20;

Thanks for a good plugin.

MaxVolume for multiple products 13 Jan 2014 12:22 #2

Yes, you are right, MaxVolume is the maximum volume of each of the products, not including the quantity. Like MaxLength, it is intended for checks whether the order can be packaged into given boxes / transported on given cars. E.g. if a van can only transport items of length < 2m, then if MaxLength>2 you know that you cannot use a van for the transport, but need e.g. a truck. Similarly, if your boxes can only contain 1m^3, you cannot ship items with volume >1m^3 in these boxes.

From your description it sounds like you are actually looking for TotalVolume (the sum of all volumes of all articles in the cart, counted with their quantity). Notice, however, that this is really the volume for the whole order, not for each product separately.

  • Page:
  • 1