Business hours not working after update

This topic contains 11 replies, has 3 voices, and was last updated by  Kiran 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #476808

    jotomas
    Buyer
    Post count: 802

    Hello,

    Business hours field has ceased to work correctly after update.

    1) Business hours and minutes can only be edited with the slider, no longer manually like before.
    2) Hour and minute changes are not saved, but only edited open / closed status.

    A couple of suggestions for improvements:

    1) Allow copying business hours from one day to another.

    2) Add business hours sets for different seasons, holidays, etc. Then allow to duplicate sets.

    I look forward to your reply.

    Thank you very much for your help.

    Best regards.

    #476909

    Alex Rollin
    Moderator
    Post count: 27815

    Please post WP Admin and FTP so we can check out the issue.
    If this is only effecting one listing, please also share a link to that listing.

    Thanks

    #477017

    jotomas
    Buyer
    Post count: 802
    This reply has been marked as private.
    #477025

    Alex Rollin
    Moderator
    Post count: 27815

    1. If I understand it correctly, this is now the default, to edit with the slider, because there is new functionality allowing for different input methods based on the time format settings in WP.

    2. I was able to edit hours, save, edit again (restore) and save on your site. Can you point at a page with a problem?

    #477031

    jotomas
    Buyer
    Post count: 802

    Hi Alex,

    Thank you very much for your reply.

    Then, will it be possible to enter hours and minutes manually like before instead having to use the slider? I was used to enter hours and minutes manually and now it takes me twice the time to do it using the slider.

    I have tried again with this listing:

    https://inforoses.com/menjar-i-beure/fer-un-mos/ca-la-sogra/

    and changes to business hours are not saved when updating the listing.

    I previously tried with most listings of the same CPT “Menjar i beure” with the same results.

    I can not understand what is going on and how the changes get saved when you try.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #477034

    Alex Rollin
    Moderator
    Post count: 27815

    I will flag your question for the developers.

    About the issue of not saving, try clearing your browser cache.
    I tried on that listing frontend and backend edit, twice, and it worked for me.

    #477054

    jotomas
    Buyer
    Post count: 802

    Hi Alex,

    Thank you very much for your reply.

    Clearing browser cache solved the issue. As always, I should have thought about it, but I am very reluctant to clear the cookies since then I am forced to reopen a lot of sessions.

    I will be waiting for your news about being able to enter hours and minutes manually again.

    Thank you very much once again for your help.

    Best regards.

    #477065

    Alex Rollin
    Moderator
    Post count: 27815

    OK, we will take a look at that

    Glad the cache clear fixed it up

    #477070

    Kiran
    Moderator
    Post count: 7069

    Hello Jotomos,

    1) Business hours and minutes can only be edited with the slider, no longer manually like before.

    As per request from many customers in recent version we have implemented feature to allows to use WordPress default time format in business hours input field in add/edit listing page.
    This field is now readonly and able to set time via timepicker. Because copy/paste time in input may break business hours save format due incorrect format/incorrect characters during copy/paste.

    2) Hour and minute changes are not saved, but only edited open / closed status.

    I checked with one listing and it worked fine for me. See screenshots attached before & after edit.

    1) Allow copying business hours from one day to another.
    2) Add business hours sets for different seasons, holidays, etc. Then allow to duplicate sets.

    We always welcomes suggestions form our customers to make feature more customer friendly. We are implementing features on priority base. We keeps your suggestion and we will try to add it in future if easy to feasible.

    I will be waiting for your news about being able to enter hours and minutes manually again.

    Because of issues in saving business hours value, we have prevented to copy/paste time in input. If you still want to use it, then let us know i will provide you snippet to remove readonly input.

    Let us know.

    Best Regards,
    Kiran

    #477071

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #477086

    jotomas
    Buyer
    Post count: 802

    Hi Kiran,

    Thank you very much for your reply.

    Yes, the issue was solved after clearing browser cache and cookies, as you can see in previous comments.

    I do not understand what you mean here:

    “This field is not readonly and able to set time via timepicker.”

    I do not see a timepicker, only the slider.

    When entering hours and minutes manually was possible, I did not use copy/paste, but I just write the hours and minutes in the right format and hit “Enter” in the computer keyboard.

    If the default WP time format is used, would not it be possible to automatically check the data entered manually or copied / pasted and simply not accept it with a red label warning or something similar?

    Anyway, being able to copy hours and minutes data from one day to the next would be very helpful to save time.

    Now a new suggestion: to be able to save reusable business hours sets to choose from. This would help to be much faster when adding or editing a lot of listings, like I am doing now.

    I look forward to your news.

    Thank you very much once again for your help.

    Best regards.

    #477088

    Kiran
    Moderator
    Post count: 7069

    “This field is not readonly and able to set time via timepicker.”

    Ah spell mistake, please read “now” instead of “not”. If input is set readonly then it can’t changed, just like now you can’t change it.

    I do not see a timepicker, only the slider.

    It is a slider rendered via jQuery timepicker plugin.

    If the default WP time format is used, would not it be possible to automatically check the data entered manually or copied / pasted and simply not accept it with a red label warning or something similar?

    We stores business hours in a standard openingHours schema format(https://schema.org/openingHours). Incorrect format may results in incorrect schema.

    Now a new suggestion: to be able to save reusable business hours sets to choose from. This would help to be much faster when adding or editing a lot of listings, like I am doing now.

    Yes, it is good idea to implement in future. You can also update this for batch listing via import/export listings. Just use this format https://github.com/AyeCode/geodirectory/blob/master/includes/admin/dummy-data/standard_places.php#L1623

    Kiran

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount