• Resolved digitaldesign7

    (@digitaldesign7)


    Can you tell me if there is a way to make the code treat20 only apply to treats and nothing else?

    I attempted to add this to an existing subscription which includes food as well as treats, the intended result would give the discount to only the freeze dried chicken hearts treat… It says not valid?

    https://prnt.sc/qcka7g

    Maybe the easiest way to do this is to make the following logic work.

    “If dog/cat food in cart AND treats in cart, apply 20% code to treats only”

    Can the coupon code be used if there are other foods that aren’t treats in the cart? If so, how do I configure it? Thank you.

Viewing 1 replies (of 1 total)
  • mother.of.code

    (@imazed)

    The Mother of Code

    Hi there! That will require a bit of custom coding, or a plugin that can handle that kind of workflow for you. WooCommerce core doesn’t support this by default.

    Perhaps there is someone from within the community who knows of a code snippet or a plugin alternative. I came up with this: https://www.flycart.org/products/wordpress/woocommerce-discount-rules. It’s a premium plugin, and I haven’t tried it – but it seems to do what you want.

    Hope that helps. Have a wonderful day ahead!

Viewing 1 replies (of 1 total)

The topic ‘Coupon code conflict’ is closed to new replies.