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:

wrong result rule 27 Oct 2013 07:50 #1

  • geldd001
  • geldd001's Avatar Topic Author
HI,

I entered the next rules with weight unit gram and length unit mm:

Name=Brief NL van 0 gram tot 50 gram; 0<Weight<=50; TotalHeight<=31; Shipping=1.95
Name=Brief NL van 51 gram tot 100 gram; 51<Weight<=100; TotalHeight<=31; Shipping=2.25
Name=Brief NL van 101 gram tot 250 gram; 101<Weight<=250; TotalHeight<=31; Shipping=3.05
Name=Brief NL van 251 gram tot 500 gram; 251<Weight<=500; TotalHeight<=31; Shipping=4.15
Name=Brief NL van 501 gram tot 2000 gram; 501<Weight<=2000; TotalHeight<=31; Shipping=4.85

With a article that has:

length 28 cm
weidth 28 cm
height 2 cm
weight 1500 gram

The result should be the last option because of the weight:
Brief NL van 501 gram tot 2000 gram

The result is:
Brief NL van 0 gram tot 50 gram

wrong result rule 12 Nov 2013 01:25 #2

You can check whether Weight variable really has the correct value by inserting {Weight} in the rule name. The {Weight} will be replaced by the value of the Weight variable, so you can determine whether all unit conversions are correct...

wrong result rule 13 Nov 2013 16:55 #3

  • geldd001
  • geldd001's Avatar Topic Author
Thanks for this advise. I found the error!

When you enter the correct weight in a product and set the parameter to grams the product is registered correct.
In the shipment rule you can choose the weight Unit. I also entered there Grams. But the result is Kilo!!!

I changed my values in kilo values.
  • Page:
  • 1