Repository Forums Support WooCommerce Extended Coupon Features PRO Sorry, this coupon is not applicable to selected products.

Topic Resolution: Resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2717
    denis.d1
    Participant

    Hi,

    I am trying your plugin and I can understand why when I apply the coupon I always get the following error message: Sorry, this coupon is not applicable to selected products.

    The only thing I did is set the Discount type to Percentage and the Coupon amount to 10. All other settings have not been touched.

    What could be wrong with the products themselves ?

    #2718
    Soft79
    Keymaster

    Are you using the Perfect WooCommerce Brands plugin?

    Then see here: https://wordpress.org/support/topic/discount-code-stopped-working/

    #2719
    denis.d1
    Participant

    I am using WooCommerce Extended Coupon Features

    #2720
    denis.d1
    Participant

    But I am also currently using PerfectWooCommerce Brands plugin.

    #2721
    denis.d1
    Participant

    After having deactivated the plugin PerfectWooCommerce Brands the coupons plugin seems to work fine.

    Are you planning to soon fix that problem ?

    #2722
    Soft79
    Keymaster

    The author of Perfect WooCommerce Brands needs to solve it, but you can apply the mentioned fix yourself until then.

    #2723
    denis.d1
    Participant

    I have changed the code as specified and it works fine. Thank you.

    For a quick fix, find the file plugins/perfect-woocommerce-brands/classes/admin/class-pwb-coupon.php
    and replace
    if ( empty( $selected_brands ) ) return;
    with:
    if ( empty( $selected_brands ) ) return $valid;

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