Hello @edyou,
We removed the admin coupon (WooCommerce 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.
If you want to enable this option to your site then you will need to put the below code on your child theme’s function.php.
add_filter( ‘dokan_ensure_vendor_coupon’, ‘__return_false’ );
In case there is any trouble with WooWallet, please contact the plugin provider. As they made the plugin Dokan compatible, they will surely help you with a solution related compatibility issue.
Best Regards 🙂
Thread Starter
edyou
(@edyou)
Hey,
Thanks for reply.
Above issues happen after enabling coupon creation to admin only.
Please do read my query once again.
Thank you.
Thread Starter
edyou
(@edyou)
I think this is something which you consider for further development.
because I think in many cases of its admin who is going to give discount , coupons to end customers. I feel your plugin will be even more great if you can insert a functionality where discount/cashback given by admin to customers to deduct from admin commission.
Thank you.
-
This reply was modified 6 years, 9 months ago by
edyou.
Thread Starter
edyou
(@edyou)
and w.r.to cash back and tax caln issues , i will contact woo-wallet plugin author.
Thank you.
Thread Starter
edyou
(@edyou)
Hi ,
Can you please tell how can I hide earnings details from the statistics of the vendor.
i.e sales, earnings, pageview, order dashboard.
Thank you.
Thread Starter
edyou
(@edyou)
Hello @edyou,
The mentioned CSS is working for me. Please try this on your theme additional CSS section :
.dashboard-widget.big-counter {
display: none !important;
}
.dashboard-widget.orders {
display: none !important;
}
I hope this helps.