How can i use this plugin to enable all coupons for selected user roles?

Top WooCommerce & WordPress Plugins Forums Coupon by User Role for WooCommerce How can i use this plugin to enable all coupons for selected user roles?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #91351
    Kay Zilliges
    Participant

    Hello, question: How can i use this plugin to enable all coupons for selected user roles? I have one User roles for coupons, but all are customers. So i need
    “enable all coupons for selected user roles”

    Can you buildt and update the plugin?

    THX Kay

    #91352
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Kay,

    Sure, I can do that. Just to be sure I understood it correctly – if you add some role to that new option (i.e. “Enable all coupons for selected user roles”), then for all other roles coupons would be automatically disabled, is that correct? So basically, you can achieve the same result with the current plugin options, except that if you need only one role to use the coupons, then it would be much easier for you to set it up? If that’s the case, I’m thinking maybe instead I could add “Select all roles” (and “Deselect all roles”) buttons, so you could basically click on the “Select all roles” button, and remove the only role you don’t need in “Disable all coupons for selected user roles” option? Hope that makes sense. What do you think?

    #91353
    Kay Zilliges
    Participant

    Hi Tom,

    now we can change between “disable” and “invalidate” – but sometimes we need the oposite. “Enable” for this role!

    My Problem:

    I have a store. And there in wordpress woocommerce every customer/buyer is “Customer”! And certain users get after the purchase of product X with me another role “Y”.

    And now I want that only users with role “Y” can use a certain coupon.

    But with you it is currently only exclusion. So there is a missing permission for certain roles.

    So user with role “Y” may use this voucher, no matter which roles there are or the user still has.

    So i need “Allow only for users with this role”! Or “Allow only for users with this role among others”!

    I hope you can understand my thoughts!

    BR  Kay

    #91354
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Kay,

    Oh, ok, I think I got it now. So it’s a multi-role issue, i.e. if user is only “Customer”, he is not allowed to use the coupon, but if he is “Customer” and “Y” at the same time, then he can use the coupon, is that correct? If that’s it, then it should be quite easy to do, I will try to implement it tomorrow then.

    #91355
    Kay Zilliges
    Participant

    Hi Tom,

    i can’t answer you, that’s why i always rewrite. Do not be surprised.

    Yes exactly, instead of always excluding, just include rolling.

    It also works: “Usable only for users with role 1 and role 2”.

    Or “Usable for users with role 1, no matter what other roles they have”.

    Thanks a lot for your quick help

    Kay

    #91356
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Kay,

    As promised, we’ve released a new plugin version today (v1.4.0), where I’ve added “Exceptions” options. Hopefully this is what you need. Please give it a try and let me know if it’s working as expected.

    P.S. I’ve also added “Select all” and “Deselect all” buttons I’ve suggested earlier – should make it easier for you to handle the plugin’s settings.

    P.P.S. You can answer to the current thread by clicking “Reply” on your own initial comment (i.e. the first comment in the thread).

    #91357
    Kay Zilliges
    Participant

    Hi Tom,

    that sounds good.

    I will wait to a update of my plugin or must download and install the new plugin?

    BR   Kay

    #91358
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Kay,

    To enable automatic plugin updates, you’ll need to install free WPFactory Helper plugin. Alternatively, you can always download the latest plugin release manually from your account page.

    P.S. After you test it, please let me know if it’s working as expected.

    #91359
    Kay Zilliges
    Participant

    Hi Tom, now it works perfectly.

    Thank you very much…

    Kay

    #91360
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Kay,

    Glad to hear it’s working, and thank you for the feedback.

    Let me know if you need anything else.

    And if you like the plugin, please consider leaving me a review here or here.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.