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 need to add a rule where every 1 to 3 products cost 6$ I.E: 1 or 2 or 3 products will cost 6$ 4 products will cost 12$ 6 products will cost 18$ 7 products will cost 21$ and after adding rules the shipping cost is not appearing in the cart Thanks |
|
Dear Alialaddine,
If I understand you correctly, you want to charge 6$ for each bucket of three products. The number of those buckets is simply the number of articles divided by three and rounded up to the next integer: Shipping=ceil(Articles/3)*6 Best regards, Reinhold |
|
Is this expression available only with the advanced version?
Since I am getting this response "Evaluation yields unknown value while evaluating rule part 'ceil(Articles/3)*6'." |
|
Dear Alialaddine,
Yes, sorry, I forgot to mention that this function -- like all mathematical expressions -- are available only in the advanced version. With the free version you can still implement this shipping cost structure, albeit with a bit more effort: <code> Articles<=3; Shipping=6 4<=Articles<=6; Shipping=12 7<=Articles<=9; Shipping=18 10<=Articles<=12; Shipping=24 13<=Articles<=15; Shipping=30 .... </code> Best regards, Reinhold |