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:

Exclusion product 04 Nov 2013 15:39 #1

  • Valerio
  • Valerio's Avatar Topic Author
Good evening, I need to put a standard shipping method, one free for certain products, and another method in the case in your cart there are products with free standard shipping and example:

Name=Standard;not("KT00006" in SKUs); Shipping=9.8
Name=Mista;!=("KT00006" in SKUs) AND "KT00006" in SKUs; Shipping=12.8
Name=Spedizione Gratuita;"KT00006" in SKUs; Shipping=0

and can force the application of the rules with a specific order?

Exclusion product 09 Nov 2013 12:47 #2

Your first rule should provide a shipping cost of 9.8 if the product "KT00006" is not the cart.

Your second rule does not work, because != is an inline operator, i.e. it can only be used in the form "value1 != value2". What do you want to achieve with this rule, anyway? Somehow I don't understand the logic behind that attempt.

And your third rule should provide free shipping if "KT00006" is in the cart.

Notice, however, that those rules need the advanced plugin.

Best regards,
Reinhold
  • Page:
  • 1