VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Shipping By Rules for WooCommerce
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: shipping rule for products with custom variations

shipping rule for products with custom variations 16 Sep 2018 08:21 #1

  • mariuscucuruz
  • mariuscucuruz's Avatar Topic Author
  • Offline
  • Posts: 1
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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular