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!



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1


Apply generic rules not working 26 Mar 2013 23:38 #1

  • manuxx
  • manuxx's Avatar Topic Author

Sorry didn't notice you had a forum and already mentioned the issue to you by email.

Basicly the error is that is not showing taxes with the setting "apply generic rules", you already know that VM changed the code.

Please let us know any updates in these issue,

And thanks again for this amazing plugin.


[SOLVED] Apply generic rules not working 27 Mar 2013 18:50 #2

This issue is solved with the latest plugin version 2.2.2. Basically, the VirtueMart function that I had to modify in the plugin has fixed this, so I had to copy over the fix to the plugin, too.

Apply generic rules not working 27 Mar 2013 22:24 #3

  • manuxx
  • manuxx's Avatar Topic Author
Thanks a lot! works perfectly.

I noticed you change something in how the shipping names are displayed, could it be?

Maybe you added more () ??


Apply generic rules not working 27 Mar 2013 23:09 #4

I had to disallow any HTML in the rule names (i.e. all rule names are pure text), because people happily try things like
Name=Weight<1kg; Weight<1; Shipping=1

If the rule name is understood as HTML, the < indicates a HTML tag and the result will be invalid HTML...

Is this the change you are seeing (added in version 2.1.3)?

Apply generic rules not working 27 Mar 2013 23:25 #5

  • manuxx
  • manuxx's Avatar Topic Author

Was out of curiosity, we use one page checkout so we tried to make the length adapted to one line. These appeared in the same line in previous version so I was just wondering where was the change, cause I can't remember, we can just make the name shorter, just a styling doubt ;)

We use names these way, do they look correct for you?:
Name=Península, max 6kg; 01000<=ZIP<06999; Weight<6; Shipping=4.81
Name=Península, max 11kg; 01000<=ZIP<06999; 7<=Weight<11; Shipping=5.77
Name=Península, max 16kg; 01000<=ZIP<06999; 12<=Weight<16; Shipping=6.73

Apply generic rules not working 27 Mar 2013 23:37 #6

There was some period of time when the plugin accidentally didn't display the shipping cost in parentheses (see this forum entry ). Maybe this "(6,00 €)" is the thing that you didn't see before (which was a bug).

Apply generic rules not working 27 Mar 2013 23:43 #7

  • manuxx
  • manuxx's Avatar Topic Author
Indeed, that was ;) thanks

I liked that bug :D


Apply generic rules not working 27 Mar 2013 23:54 #8

The problem with that bug was also that its results were legally questionable. In particular the e-commerce laws in Europe (based on the e-Commerce directive of the EU) clearly say that the costs of the products (and of course also the shipping costs) must be clearly and unambiguously displayed to the customer. If the shipping costs is not displayed with the shipping method, one can argue that this is violated (because the cost of the payment methods IS displayed with the payment methods) and you might end up in legal trouble if a customer refuses to pay (or even worse, a consumer protection agency sues you over it).

Apply generic rules not working 28 Mar 2013 00:05 #9

  • manuxx
  • manuxx's Avatar Topic Author
Thanks, all clear, is not a problem at all for us, we will make names shorter.
  • Page:
  • 1