• Hi, we use this plugin to auto apply coupon (10% discount) to products, if the user role is VIP. There are some excluded products, if the product brand contains NONVIP the coupon should not activate.

    In some cases, 1-2 case / month, we see the coupon applied against this rule, the VIP user can buy this product with 10% discount against the NONVIP brand mark. How to find the problem in this case? We see in the log, the coupon is applied, and the price deducted too

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gerisoft

    (@gerisoft)

    Hey, is the support reads this forum?

    Plugin Author Soft79

    (@josk79)

    What settings does the coupon have and what Brands plugin do you use?

    Thread Starter gerisoft

    (@gerisoft)

    Hi, we are using this plugin for a VIP coupon. The rules are:

    • only available for users with VIP role, 10% discount
    • excluding the product brand nonVIP, excluded some pre-defined categories
    • auto apply if the user is VIP and no excluded product in the cart

    in some case, about 4-5 times in a 3 month period, we are getting orders where the coupon was activated for a vip user, but he bought excluded product. How can we debug this issue?

    settings: https://drive.google.com/drive/folders/1qfU9E4vU11PRDmbB8JFm2YSPdPyY9FVx?usp=sharing

    Plugin Author Soft79

    (@josk79)

    Is it a problem with the brand exclusion? What plugin do you use for that?

    Thread Starter gerisoft

    (@gerisoft)

    Hi, I do not know, what cause the issue, the brands or what, just see, there is a coupon applied without the right of use. We are using the Perfect Brands WooCommerce plugin. If there is a brand for product NONVIP the coupon should’nt be applied

    Here are the settinggs: https://drive.google.com/file/d/1qujfQ3Jear2tIWMndgLSV6kkgg9R0WSv/view?usp=sharing

    Plugin Author Soft79

    (@josk79)

    Excluding NONVIP should be handled by the Perfect Brands plugin. Please contact the author. I’m not sure, but maybe the default return value of true in is_valid_for_brand in file lib/admin/class-coupon.php cause this if the handlers is_valid_for_brand and is_valid_for_exclude_brand are not fired in the expected order.

    Thread Starter gerisoft

    (@gerisoft)

    Thank you, I will check.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Auto apply coupon against limitation’ is closed to new replies.