Support » Plugin: Perfect Brands for WooCommerce » Discount code stopped working!!

  • Resolved supervinnie40

    (@supervinnie40)


    With the latest update, all discount codes stopped working.
    You need to select every single manufacturer for a discount to work. Which is the opposite of how it should work. The selected brands should be DISALLOWED, instead of being mandatory. Just like all the other functions above it in Woocommerce function!

    When having about 100 brands, this is a very annoying bug!

Viewing 3 replies - 1 through 3 (of 3 total)
  • For a quick fix, please 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;

    I can confirm the lastest version indeed causes all coupons to stop working.
    Needs to be fixed asap.

    @Soft79: will try this, thanks!

    Plugin Contributor titodevera

    (@titodevera)

    Solved in 1.6.3. Update the plugin please!

    😀

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Discount code stopped working!!’ is closed to new replies.