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!
Welcome,
Guest
|
|
Hello,
I don't know if this has already been asked, I apologize if so... I'm trying to build a shipping cost based on the % of the cart amount (4% for instance): Name=Test; Amount>400; Shipping=Amount*4/100 I have a few questions: - is it possible to do what I'm trying to do? - if so, is this syntax correct? - and if so, can it be used with the free version? Or must I buy the pro version? Thanks in advance and best regards, kpuche |
|
Calculating shipping costs as % of the cart amount is possible, but only with the Advanced (i.e. paid) plugin. The free plugin does not have any way to interpret a mathematical formula like "Amount*0.04"
That is actually the only major difference between the free and the paid versions of the plugin: The paid plugin includes code to properly calculate mathematical formulas, while the free version has only the comparisons (<, <=, ==, =>, >) implemented, but no interpretation of formulas. Granted, a multiplication like "Amount*0.04" might appear to be a trivial problem to calculate, but one needs to be aware that mathematical expressions can be arbitrarily complex (with function calls, nested parentheses, etc), so a mathematical expression parser is far from trivial to write. That's why the free plugin does not include mathematical expressions, but the advanced plugin does. Best regards, Reinhold PS: You can try out both the free and the paid plugin at demo.kainhofer.com/ Your syntax is correct, though, but only for the advanced plugin. |
|
Hello,
Thanks for your fast answer! I bought the advanced version and all works perfectly. Best regards, kpuche |