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:

Shipping Rule - Free Shipping for Category 30 Nov 2016 16:28 #1

  • websiteprojects
  • websiteprojects's Avatar Topic Author
Hi

I would like to add a rule for free shipping for product in a particular category. I used the below code from your sample page but I get an error message:

Name="No Shipping Required"; Categories==list( 660); Shipping=0
Name="No Shipping Required"; Categories==list( 661); Shipping=0

Could you please advise what I should use?
Attachments:

Shipping Rule - Free Shipping for Category 30 Nov 2016 22:35 #2

Dear websiteprojects,
This error message is an indication that your shipping method uses the basic (i.e. free) version of the plugin, which does not have support for any function, while list(660) technically is a function that needs to be interpreted.

With the advanced version of the plugin, this error will not appear and the rules should work.

Notice, however, that the first rule gives free shipping (for the whole order) only to orders that contain just products from category 660, and the second rule gives free shipping for the whole order only to orders containing only products from category 661.
If you have an order with products from categories 660 and 661, then this order will not get free shipping!

Best regards,
Reinhold
  • Page:
  • 1