Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Shipping By Rules for WooCommerce

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 for products with custom variations 16 Sep 2018 08:21 #1

  • mariuscucuruz
  • mariuscucuruz's Avatar Topic Author
Hi,
I'm trying to apply a rule like `
(Condition=contains_any(Categories, "categ-slug") );
` on items that have custom variations (eg. number of days to book). I've enabled debugging and I can see the item with no categories attached (nor tags) despite having assigned them correctly.
[skus] => Array ( [0] => 567788-2 [1] => 56944 - 3 )
[categories] => Array ( )
[tags] => Array ( )

If I change the shipping rule to use SKU then it works fine, but there's too many products to manage by SKU, so product category would be best. I've also tried using the categ ID as opposed to the slug, all to no avail.

Please advise.

Thank you.
  • Page:
  • 1