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:

Shipping by Height 01 Jan 2016 14:07 #1

  • Webkonsulenter.dk
  • Webkonsulenter.dk's Avatar Topic Author
Hi!

I need to make rules according to product height. However these rules:

Name=Gratis fragt ved 3 x Sprays;Height<30;Shipping=99
Name=Gratis fragt ved 3 x Sprays;Height=>30;Shipping=0

Results in " Evaluation yields unknown value while evaluating rule part 'Height' "

If I change my rules to:

Name=Gratis fragt ved 3 x Sprays;MaxHeight<30;Shipping=99
Name=Gratis fragt ved 3 x Sprays;MaxHeight=>30;Shipping=0

then it does not respect total height in products, always resulting in 99 shipping.

Please advise me on how to change my rules.

Thanks for a great plugin!

Chers

Shipping by Height 05 Jan 2016 13:34 #2

  • Webkonsulenter.dk
  • Webkonsulenter.dk's Avatar Topic Author
I figured out my mistake:

The mistake:
Name=Gratis fragt ved 3 x Sprays;Height=>30;Shipping=0

Correct syntax:
Name=Gratis fragt ved 3 x Sprays; TotalHeight>=30; Shipping=0

The plugin could not understand what I wanted to do with "Height=>30" and gave me an error.
Maybe: " Evaluation yields unknown value while evaluating rule part 'Height' could be rewritten to include suggestion ?

cheers,

[SOLVED] Shipping by Height 05 Jan 2016 13:34 #3

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