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:

problem with operator - 20 Dec 2014 12:31 #1

  • kikkodm
  • kikkodm's Avatar Topic Author
hello, i have payed vertion of plugin and
i want to add the below rule:
Name=free shipping; Amount-Length>=30; 10000<=ZIP<99999;Shipping=0

i tryed the (-)operator and for Amount-MaxLength>=30;
but i receive error "evaluation yields unknown value while evaluating rule part'ammount-length'.

That i want to do is to exclude some categories from free shipping, so i proceed and have lenght value at the category i want to exclude form free shipping.

iS there another way to exclude one category from free shipping?
thank you

problem with operator - 28 Dec 2014 22:42 #2

i tryed the (-) operator and for Amount-MaxLength>=30;
but i receive error "evaluation yields unknown value while evaluating rule part'ammount-length'.


Hello,
Do you have a typo in your error message? In particular, you write "ammount-length", which should of course be "amount-length"...

If your rule correctly contains "amount-length", then the next step is to check whether your shipping method really uses the advanced shipping by rules plugin and not the basid (free) shipping by rules plugin. The error message indicates that that the plugin tries to evaluate "amount-length" as one variable, rather than as a mathematical expression. This is exactly the behavior that the free plugin would apply.

You can simply check and change this in the "Shipment Method Information" tab of the shipping method configuration. Make sure the "Shipment Method" is set to "Advanced Shipping by Rules for VirtueMart" and not "Shipping by Rules for VirtueMart".

Best regards,
Reinhold
  • Page:
  • 1