Issues with dokan seller vacation
Author | Posts |
---|---|
April 17, 2015 at 8:02 am 41575 | |
Gregório Sordi | 1) First thing, i noticed the current date is wrong. And i think i know why. Dokan doesn't use the Date format and the utc i imputted in wordpress settings. This way, the date that the plugin is getting with $now = date( 'Y-m-d' ) is the UTC time. I am in UTC-3. So, here is now 2015/04/16 22:39:11, it shows 2015/04/17 1:39:11. 2) Second thing, and most important. The imediately go to vacation is working fine. But the datewide go to vacation is not working. I've made extensive test. Deactivated plugins and all my customizations with no success. It doesn't change anything. Store message appear ok, but products are still available or unavailable. If it was available before setting it, it still is. If the imediately go to vacation was chosen before. It doesn't change status even if the vacation is not set to the present date. Please debug this and confirm this error. thanks. |
April 18, 2015 at 12:01 pm 41633 | |
towhid | Hello Sordi, Can you please send me some screenshot about those above issues. Then it will be easy for me to see how you test everything. I have also found some inconsistency. Thank you 🙂 |
April 19, 2015 at 9:44 am 41726 | |
Gregório Sordi | It’s better to tell you than make a lot of screenshots. First, i copied this code from dokan-seller-vacation.php to dashboard-nav.php so i can print the variable values.
As far as i remember it now, it all went fine. the variables printed the expected value. But, not all worked. this line doesn’t seem to be working:
Why i think that? The message on store is printed ok. If not on vacation, not printed, if it is, imediately or datewise, it is printed. but the products are not. If not set on vacation: Prodcuts are shown to buy. If set vacation imeadiately: Products disappear. If set datewise vacation: Message is printed, but products are shown and are still available. Got it? thanks for your time. |
April 21, 2015 at 1:06 pm 41902 | |
towhid | Hello Sordi, The idea you had mentioned is very helpful. I already forward your idea to our developer team. Hope they will implement this idea very soon. Thank you 🙂 |
April 22, 2015 at 9:01 pm 42055 | |
Gregório Sordi | Ok. thanks. keep me posted on updates about this issue. |