• Resolved albertogtn

    (@albertogtn)


    Hi,

    I use your plugin “WooCommerce Discounts Per Payment Method” on my website, it’s very useful to set discounts by payment, but I’d need to create discounts by payment and also by user’s role; would be possible to add this function? For example something like this:

    if ( $user_role == ‘wholesale’ ) you get a discount for cash on delivery, etc.

    I have only two roles, one for normal users and one for wholesales; would be possible to add this differentiation?

    Please let me know.

    Thanks in advance for your answer.

    PS: I’ve contact you on your website but haven’t seen the warning cuz in Portuguese, sorry my bad :))

    https://www.ads-software.com/plugins/woocommerce-payment-discounts/

Viewing 1 replies (of 1 total)
  • Plugin Author Claudio Sanches

    (@claudiosanches)

    You can try use the wc_payment_discounts_apply_discount filter for it.
    But user levels/roles are not part of the scope of this plugin, good luck with your customization.

Viewing 1 replies (of 1 total)
  • The topic ‘Discounts Per Payment Method And Also Per User's Role’ is closed to new replies.