Support » Plugin: WooCommerce Advanced Free Shipping » Custom conditions

  • Resolved


    Hi there,
    I’m working on a website that sells upholstery products and material. I need for some small items (like bag of buttons) to have free shipping when they are purchased with a roll of fabric because my client shoves the smaller item down in the fabric tube and does not charge shipping for that small item. But when the small item (bag of buttons) is purchased alone or other products (that aren’t the rolled material) shipping charges need to apply.

    Based on what I’ve already tried and my understanding of your plugin, I believe I need a custom condition for the rolled material to be in the cart for the other item to be free. Maybe contains shipping class?

    Can you please help me? I’ve seen it mentioned in the documentation that custom conditions are available, but I have no idea how to create one or where to put it!

    Thank you so much,


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeroen Sormani


    Hi Melissa,

    You can use the existing ‘contains shipping class’ condition to check the cart for the small product and rolled product and provide free shipping if both are present.

    I don’t think a custom condition is required for your scenario.



    Hi Jeroen,
    Thanks for your response. Do you mean free shipping for just the small item if both are present? I don’t want the whole cart/order to have free shipping. Below is what I’m trying to do.

    Cart 1 example:
    Rolled product – x shipping charge

    Cart 2 example:
    Small item – x shipping charge

    Cart 3 example:
    Rolled product – x shipping charge
    Small item – no shipping charge

    Can this be done without a custom condition?


    – M

    Plugin Author Jeroen Sormani


    Hi Melissa,

    That won’t be possible with this plugin > this plugin only allows you to setup free shipping for the entire cart.

    You can however do this using the Advanced Shipping Packages plugin. This will allow you to split the cart into two packages, and provide free shipping for one.

    Another option is the Advanced Shipping plugin which allows for setting up shipping cost depending on the items in the cart. This would only work if you use flat rates (so no live quotes for example).

    Hope that makes sense.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom conditions’ is closed to new replies.