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:

Unknown variable 'MinWeight' in rule 'MinWeight=0. 02 Jun 2014 13:15 #1

  • stressfreemedia
  • stressfreemedia's Avatar Topic Author
Hi all,

I have set the plugin up with multiple shipping options based on min/max weight.

For example:

Name=UK Shipping 1-2kg; MinWeight=1.1; MaxWeight=2; Shipping=6.79

However when I add an item to the basket and go to checkout it says:



Unknown variable 'MinWeight' in rule 'MinWeight=0.03'
Unknown variable 'MaxWeight' in rule 'MaxWeight=1'
Unknown variable 'MinWeight' in rule 'MinWeight=1.1'
Unknown variable 'MaxWeight' in rule 'MaxWeight=2'
Unknown variable 'MinWeight' in rule 'MinWeight=2.1'
Unknown variable 'MaxWeight' in rule 'MaxWeight=5'
Unknown variable 'MinWeight' in rule 'MinWeight=5.1'
Unknown variable 'MaxWeight' in rule 'MaxWeight=10'
Unknown variable 'MinWeight' in rule 'MinWeight=10.1'
Unknown variable 'MaxWeight' in rule 'MaxWeight=15'
Unknown variable 'MinWeight' in rule 'MinWeight=15.1'
Unknown variable 'MaxWeight' in rule 'MaxWeight=20'
Unknown variable 'MinWeight' in rule 'MinWeight=20.1'
Unknown variable 'MaxWeight' in rule 'MaxWeight=25'



Any suggestions?

Thanks

Gary

Unknown variable 'MinWeight' in rule 'MinWeight=0. 03 Jun 2014 21:56 #2

Dear Gary,
A comparison needs to be written as ==, not with a single =.

Best regards,
Reinhold
  • Page:
  • 1