Support » Plugins and Hacks » Add new conditions / rules to coupons

Add new conditions / rules to coupons

  • jrotella


    Anyone have any luck adding a new condition set to coupons?

    I want to let admins base a coupon on a user role. For example, this coupon is only valid for this user role… or this coupon is NOT valid for a particular role (or roles).

    I know there’s a hook for coupon condition, but can’t find any examples of how that works.

    Anyone out there ever play with coupon condition hook? Got a sample?


  • The topic ‘Add new conditions / rules to coupons’ is closed to new replies.