When admin is creating any coupon code from backend, it does not work for the vendor product. It shows an error "A coupon must be restricted". If you want admin coupon to work then watch the full video -
Code I have Used: add_filter( 'dokan_ensure_vendor_coupon', '__return_false');
★ ---- Important Links ---- ★
* Dokan Download -- wordpress.org/dokan-lite
* Read Blog -- nayemdevs.com
--------------------------------------
☑ Watched the video!
☐ Liked?
☐ Subscribed?
--------------------------------------
☑ LinkedIn -- / nayemdevs
☑ Twitter -- / nayemdevs
☑ Facebook -- / nayemdevs
12 фев 2021