Support » Plugin: WooCommerce » Prevent wholesale user role from using coupons?

  • naikstercom



    I have retail customers and wholesale customers roles setup but how do I make sure that the “wholesale” users can’t use discount coupons to buy in bulk/wholesale.

    How could I achieve this please? Remove the coupon field on cart/checkout or alert them that they can’t use coupons if they tried.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you find a solution for this?

    I found this (, but I prefer not to buy from woothemes since they only come with a 1yr upgrade license, support is non-existent and they are way overpriced. I would much rather buy from somewhere like codecanyon but I haven’t found anything.

    one off the cuff idea, would be to do this via css
    1. use one of the early filter or action statements from the pages where coupon can be redeemed
    2. In the function initiated by the filter/action from (1),
    -check the role
    – if wholesale, publish a css file where the coupon code area has css display:none ….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Prevent wholesale user role from using coupons?’ is closed to new replies.