• Resolved markyeoj

    (@markyeoj)


    Hello,

    We want to setup a free shipping coupon code but only for a specific product.

    The problem is, even if we excluded categories on coupon usage restriction. The coupon is still being applied.

    What’s the best way achieve it? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support tijosh

    (@tijosh)

    Hi @markyeoj,

    The “Usage Restrictions” tab has a section for allowed products that the coupon should apply to. We have more on this here: https://docs.woocommerce.com/document/coupon-management/#usage-restriction

    This will enable the free shipping option if the relevant products are in the cart (even if there are other products in the cart as well). For more advanced shipping configurations and costs, have a look at the Advanced Shipping Packages extension.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @markyeoj,

    Just taking a closer look at something you mentioned:

    The problem is, even if we excluded categories on coupon usage restriction. The coupon is still being applied.

    Does this issue occur when you restrict the coupon to the specific product as well?

    If the coupon restrictions are not working, either at the category or product levels, you might want to do a conflict test to see if it’s a plugin or your theme conflicting with WooCommerce and causing the issue.

    Thanks.

    Thread Starter markyeoj

    (@markyeoj)

    Hello @abwaita and @tijosh,

    Thanks for the reply, here’s the settings of our coupon code.

    coupon code

    The coupon code is working as long as the single product required is in the cart regardless of what else is in the cart.

    What we want is, for the coupon code to not to work if other products are present in the cart. Like display an error message or something.

    I just want to confirm if is this how it really works, or a bug on WooCommerce. Or is there any other way to do it?

    Thanks.

    • This reply was modified 3 years, 4 months ago by markyeoj.
    • This reply was modified 3 years, 4 months ago by markyeoj.
    Plugin Support abwaita a11n

    (@abwaita)

    Hi @markyeoj,

    I just want to confirm if is this how it really works, or a bug on WooCommerce. Or is there any other way to do it?

    If a qualifying product is in the cart, the coupon will get applied. However, you can restrict it to apply to only 1 product in the cart.

    That said, I’m not aware of a method to remove the coupon when you have other products in the cart using the inbuilt coupon controls.

    However, you could use some custom code to enforce such a restriction. I would recommend checking with the WooCommerce Customizations Partners for assistance with that.

    Thanks.

    Thread Starter markyeoj

    (@markyeoj)

    @abwaita I fully understand now, thank you so much.

    Hi @markyeoj

    You’re welcome and thank you for your reply.
    If you have any further questions, please feel free to open a new topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Free shipping coupon for specific product only’ is closed to new replies.