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:

Exclude shipping from category. 26 Jan 2016 09:53 #1

  • kusy
  • kusy's Avatar Topic Author
Hello.
It's possible to exclude some shipping methods from one or two categories ?

Best regards

Exclude shipping from category. 29 Jan 2016 11:22 #2

Dear Kusy,
What exactly do you mean? In particular:
1) Do you want to exclude a shipping method created by our Shipping by Rules plugins for certain categories? You cannot exclude shipping methods created by other plugins. For the shipping by rules-based methods, you can simply prepend a rule that checks for the appropriate conditions and uses NoShipping

2) What exactly do you mean by "excude ... from one or two categories"? Do you mean that if a product from those categories is purchased, then the shipping method should not be offered? This quite easy (using the advanced, i.e. paid, plugin). Simply prepend the following rule to the method you don't want to be offered (I'm assuming the two categories to be excluded have IDs 123 and 135):
Comment="Not offered for cats 123 and 135"; Condition=contains_any(Categories, 123, 135); NoShipping

Is this what you have in mind?
Best regards,
Reinhold
  • Page:
  • 1