Coupon Calculation
-
I have applied the admin coupon to be applied on the cart when Dokan installed using the below instructions:
“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 )”
However, the problem I’m having is that in Dokan the Earning calculation that is made in the Vendor dashboard incorporates the discount that has been applied, which means the coupon that is applied affects the vendor’s earnings.
– Is there a way I can change this so that the earning is calculated on the order without the coupon applied so that we “the Admin” have to incur the discount charges?
Thank you so much for your help in advance!
- The topic ‘Coupon Calculation’ is closed to new replies.