WCMp Vendor Vacation
-
AuthorPosts
-
-
April 5, 2021 at 12:52 AM #118861LMParticipant
Hello,
I would like to know where the vacation dates are stored for each vendor and if I want to have a front end field (a delivery date, let’s say a calendar) what file should I overwrite in order to appear it at the front end too without messing with the rest of the plugin?
Thank you -
April 5, 2021 at 5:47 PM #118918MVX Support NinjaKeymaster
Hello,
Kindly use the user switch plugin (https://wordpress.org/plugins/user-switching/) through which you can check any vendor dashboard or profile.
Also note that whenever the vendor will go for vacation and he sets it up on his calendar the admin will get an email notification. Also, the vendor can set vacation note from the vendor dashboard as you can see here (https://prnt.sc/114u533) and the customer will see the following message on the product page as you can see here (https://prnt.sc/114u6tf).
You can also display the store timing added by vendors on vendor shop page or single product page using this widget as you can see here https://prnt.sc/114u932
-
April 6, 2021 at 8:40 PM #119050LMParticipant
Maybe I was not clear enough.
I want to know which file I could use in order to overwrite and extend the functionality of the plugin because I want my customer to know excaclty the dates that a vendor can not deliver the product and select a certain delivery day!I looked up the db but I cannot find a table with these data or a json file. Where are the vacation dates stored?
-
April 7, 2021 at 6:34 PM #119167MVX Support NinjaKeymaster
Hi,
As per our default flow WCMp vendor vacation date stored in user_meta table with meta key is ‘_vacation_include_dates’
You can find out the dates using below code use this as a reference.$wcmp_vendor_vacation = get_user_meta($vendor_id, '_vacation_include_dates', true); $db_selected_dates = isset($wcmp_vendor_vacation['include_dates_array']) ? $wcmp_vendor_vacation['include_dates_array'] : false; print_r( $db_selected_dates);
CopyRegards,
-
June 8, 2021 at 10:00 AM #122750MVX Support NinjaKeymaster
Hi, we haven’t heard back from you for a while. We presume this issue has been fixed.
Please open another thread if you need any further help
-
-
AuthorPosts
The topic ‘Vendor’s vacation’ is closed to new replies.