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:

by categories 18 Nov 2013 20:32 #1

  • mabeall32
  • mabeall32's Avatar Topic Author
I have several categories and depending on categories I charge a different shipping charge. I have tried several examples that I have found but it says no shipping method matches .......

name=holster; Categories == list(1); Shipping=0
name=holster and other; 1 in Categories; Shipping=16
name=Standard; shipping=16

does not work

by categories 19 Nov 2013 13:41 #2

The last rule will always match, so apparently, your shipping method is never even considered by Virtuemart.

1) Have you activated that shipping method?
2) Did you add any country restrictions?
3) Did you select any shoper group on the first tab of the shipping method config page? An anonymous user might not be covered by such a restriction. I have heard that even selecting all possible shopper groups will not make the shipping method available to all users, because some are not member of any shopper group...
4) Do you get any error/warning message, either on the HTML page or in the web server log file?

Best regards,
Reinhold

by categories 20 Nov 2013 22:00 #3

One more possible reason (at least another customer ran into that problem): Are you sure you selected the advanced shipping by rules plugin and not the basic (free) version for that shipping method? You can check on the first tab of the shipping method setup.
That other customer had both the basic (free) and the advanced plugin installed and selected the free plugin for his method. Of course, none of the rules that involved mathematical expressions, functions, lists and the in operator worked...

If you have selected the free plugin accidentally, you can simply change the shipping method type from the basic plugin to the advanced shipping by rules plugin, save the settings and all rules should be preserved.

If that doesn't work, then I would insert a dummy rule at the very beginning to check if mathematical expressions work:
name=DUMMY Test rule; Amount >= 1-4; Shipping=1

If mathematical expressions work with the plugin, then any order should be offered that dummy rule (since the amount will always be positive and thus larger than -3). If that rule is not offered, then apparently the plugin has a larger problem.

Best regards,
Reinhold
  • Page:
  • 1