Coupon for multiple vendors
-
I want to be able to apply Admin coupon on cart, But it throw this exception
This coupon is invalid for multiple vendors.If I comment out this line in “includes/order/Hooks.php”
add_filter( ‘woocommerce_coupon_is_valid’, array( $this, ‘ensure_vendor_coupon’ ), 10, 3 ); ”Then it is fine. but as it is not permanent solution, as on plugin update i need to do it again.
I tried this also in my child theme and in custom plugin. But still not working:
add_filter( ‘dokan_ensure_vendor_coupon’, ‘__return_false’ );Is there any way i can remove this filter, So that coupon can be applied.
Thanks
The topic ‘Coupon for multiple vendors’ is closed to new replies.