Тёмный

Admin coupon not working in Dokan Multivendor plugin !!! - How to fix? 

nayemDevs
Подписаться 1,1 тыс.
Просмотров 2,6 тыс.
50% 1

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

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@fatimanoorpopy3545
@fatimanoorpopy3545 2 года назад
Thank you.This video is really useful
@lazarusomolua
@lazarusomolua 3 года назад
Thanks for the code. You saved my time. I didn't bother editing functions.php directly because it might not be safe. I installed Code Snippets plugin and then paste the short code and it works perfectly.
@tanjim6364
@tanjim6364 2 года назад
Hey how can I do that. ?
@fabricio_kd6807
@fabricio_kd6807 2 года назад
how can i do that ?
@lazarusomolua
@lazarusomolua 2 года назад
1. Login to your wp admin dashboard. 2. Click on plugins and then install new plugin. 3. Search for Code Snippets Plugin. Install it and activate. 4. Paste the short code on the Code Snippets plugin and then save it. ✔
@alibizzb2bbusiness824
@alibizzb2bbusiness824 2 года назад
thankyou so much bro you help a lot and save time thank you once again.
@medhat60001
@medhat60001 2 года назад
thank you very much.
@bui.ductrong
@bui.ductrong 3 года назад
Whoa, you saved me :D
@shreenumarimuthu7188
@shreenumarimuthu7188 3 года назад
thank you so much , this was very helpful
@nayemDevs
@nayemDevs 3 года назад
Welcome. Kindly subscribe and share
@hansmosl5919
@hansmosl5919 3 года назад
You are the best!
@nayemDevs
@nayemDevs 3 года назад
Kindly subscribe and hit the bell button for new videos
@criadordedesigncanva
@criadordedesigncanva 7 месяцев назад
great video,
@edychitambo
@edychitambo 3 года назад
Thank you!!!
@sikable801
@sikable801 2 года назад
Hi worked perfectly on code snippet but not on function php file ...i watched most of your videos and worked also..thank you
@nayemDevs
@nayemDevs 2 года назад
Thanks, Kindly share and subscribe my channel
@sikable801
@sikable801 2 года назад
@@nayemDevs Already did
@abirsonet925
@abirsonet925 2 года назад
great, like it
@greenkerala7756
@greenkerala7756 3 года назад
wow wow wow u saved me
@abirsonet925
@abirsonet925 3 года назад
hi, how to go function.php page please help me out
@nrbshopbd3773
@nrbshopbd3773 3 года назад
I am using Woodmart Theme, Apply Child Theme Function.php as per your instruction but not working. Nay solution for this
@muasx1985
@muasx1985 3 года назад
Hi. is there way to make coupon not affect the vendor earning if the coupon created by admin? I have to create a campign coupon that not affectect my vendor earning order. please reply asap. thank you
@ukuri
@ukuri 3 года назад
Yea how to proceed with this?
@bontechnology9334
@bontechnology9334 3 года назад
Cool..That's a great hack. Thanks for the great thing done! It helps us a lot. But I'm sorry! I have the same question for you about wePOS even if it's not related to this post" Is there any way we can change the status of the completed order to possessing order by default from the store dashboard of the vendor? to prevent withdrawal request of their earnings which was already taken by cash via POS" Thanks.
@nayemDevs
@nayemDevs 3 года назад
You have to write custom code for that!
@StudyRate
@StudyRate 3 года назад
can you please tell where i have to add this code? i dont have child theme functions.php
@nayemDevs
@nayemDevs 3 года назад
You can create one or use my custom function plugin.
@nrbshopbd3773
@nrbshopbd3773 3 года назад
Can we word it WP admin site or need to work Cpane login
@geoffreykipngetich1411
@geoffreykipngetich1411 2 года назад
go to wp Admin, then Plugins, Plugins Editior, Select Dokan, you will be able to see function.php
@arafatmahmud2654
@arafatmahmud2654 3 года назад
add_filter( 'dokan_ensure_vendor_coupon ', ' __return_false ') ;
@nrbshopbd3773
@nrbshopbd3773 3 года назад
where we use the code please inform me
@nayemDevs
@nayemDevs 3 года назад
You need to insert the code on your child-theme functions.php file.
@davidmartins3280
@davidmartins3280 3 года назад
Nice one....thank. How can I limit vendor image upload to atleast 5MB. They must not upload image that is more than 5MB so my servee won't slow down
@davidmartins3280
@davidmartins3280 3 года назад
I need a tutorial for that. Thanks
@nayemDevs
@nayemDevs 3 года назад
@@davidmartins3280 By default WP does not allow user to upload more than 2MB. However, you can set the max file upload limit from the server PHP.ini file.
@davidmartins3280
@davidmartins3280 3 года назад
@@nayemDevs okay can you make a tutorial about it. I will reall appreciate. And secondly the minimum product upload should be 10.
@nayemDevs
@nayemDevs 3 года назад
This require custom dev to set minimum product upload.
@davidmartins3280
@davidmartins3280 3 года назад
@@nayemDevs but that will affect the admin upload of files
Далее
How to Fix Dokan Admin Coupon Issue
2:14
Просмотров 754
How to Restrict WooCommerce Coupon Usage
4:54
The Cost of Calibers
0:58
Просмотров 14 млн
Жалко Кирилла? #юмор #шутка
1:00