Hello,
We removed the admin coupon to be applied on the cart when Dokan installed because we have thought of the scenarios below:
Say you are admin and have created a coupon that provides a discount for $40 flat for all your vendor’s products. Some of the vendors may sell products which are $5. So, it is impossible to provide $40 flat discount for a product with $5 cost.
Another fact is, a vendor might not want to put any discount on his shop’s products, in that case, admin cannot forcefully apply a discount for his products. For products that are very costly, the discount is not an option.
Now, if you need this feature then please open dokan-lite/includes/class-order-manager.php file and comment out this line – add_filter( 'woocommerce_coupon_is_valid', array( $this, 'ensure_vendor_coupon' ), 10, 3 );
Thanks!
If the coupon created by admin, the discount amount will be directly deducted on sales cost right? Is that mean the discount deducted from the vendors account? What if i wanted to provide the discount but the discount created by the admin bourne the cost by themselves instead of deducting vendors?
@manigandanr, If Dokan activated then the admin would not offer any discount because the only vendor can provide a coupon for their product.