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
|
|
We ship perishable products that must be shipped Express. I would like to put a rule in my Standard shipping so that the customer is not offered a standard shipping option if a product from a specific category is in the cart. This is what I tried but I must be missing something.
NAME=”Perishable Products”; Categories==list(1,5); NO SHIPPING |
|
If you don't want to provide a shipping rate for a particular shipment method if a product from category 1 is in the cart, the proper check in the advanced plugin is "1 in Categories". Also, "NoShipping" should not have any space.
HTH, Reinhold |
|
If I wanted to use multiple categories, then would it be
NAME=”Perishable Products”; Categories==list(1,5); NOSHIPPING |
|
That means that only categories 1 and 5 are in the cart, then no shipping is allowed. As soon as a product has another category, the list will be e.g. list(1,3,5) and no longer equal to list(1,5).
What you rather mean is: Name="Perishable Products"; 1 in Categories OR 5 in Categories; NoShipping Starting with plugin version 4.0 (the beta/testing version 3.95 of that version is available on the homepage) there is also the function intersection that will give all elements that are in two given lists (in your case the Categories list and the list of disallowed categories). The rule could then be: Name="Perishable Products"; length(intersection(Categories, list(1,5)))>0; NoShipping |