• Resolved geekayhu

    (@geekayhu)


    Hi guys,

    I bumped into the issue that even though a certain date (May 20) is a holiday, it still shows up in the available dates but only for one service category.

    screencast video: https://youtu.be/gL8uvyydibY

    As you can see, when selecting the 1st category, the day (May 20) is still available (should not be), but if we select category 2, the date (May 20) is greyed out, which is supposed to be for service category 1, too.

    Any idea what causes this issue?

    PS: if you may check our site, I had to manually disable that day with the calendar/scheduling tools, so it is not available now.

    Thanks for your help in advance!
    Kind regards, Gabe

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author WebbaPlugins

    (@webba-agency)

    Hi Gabe,

    Please, clarify state of the option SETTINGS – User interface – Disable booked dates in calendar?

    Thread Starter geekayhu

    (@geekayhu)

    Hi there,

    Thanks for your quick response.

    It is set to “yes”, because we need to prevent clients to be able to select days which have now available slots (https://ibb.co/DgcmW8Q).

    And the strange thing for me is that, as you can see in the video, if I chose from category-2 (“6-in-1”) that day is disabled, for some reason only category-1 (“HIEMT”) showed that day (May 20) available.

    Regards, Gabe

    Plugin Author WebbaPlugins

    (@webba-agency)

    Hi,

    Could you please try the follwing:

    1. Open Calendar – Schedule tools – Manual lock / unlock .
    2. Load service where the issue observed.
    3. Lock date which you added to the holiday option.
    4. Unlock this date
    5. Check the calendar.

    If the persist, please let me know.

    Thread Starter geekayhu

    (@geekayhu)

    the video plays from step 3: https://youtu.be/VCHYiorgKqI

    • 3. the day is manually locked; date (May 20 is NOT available in the frontend)
    • 4. day is unlocked,
    • 5. the date (May 20) is available again, but should not be, since it was previously set as a holiday.

    Thanks

    Plugin Author WebbaPlugins

    (@webba-agency)

    Please, clarify – if you leave the date locked in the schedule tools, is it still available in the calendar?

    Thread Starter geekayhu

    (@geekayhu)

    HI,

    No, if I manually lock the dates, the day will be greyed out and becomes unavailable. This is how I could solve this issue, so nothing from category1 shows up as available.

    But that was my problem. Even if that day (in our example, May 20 is a holiday here), and set as a holiday in the general settings, it shows available ONLY for the 1st service category. If you pick any treatment (service) from the other category, it’s automatically greyed out for this day (May 20). That is why I made the video because I did not understand why it works for the other category, but does not work for the 1st category.

    In the previously shared video (https://youtu.be/gL8uvyydibY?si=1hTGa1pnB8NpYjF5):

    • timestamp 0:11 – I selected the 1st category (HIEMT), chose a treatment, and tried to pick a timeslot for May 20, and it IS available (although it should not be, as it is a holiday set in the general settings)
    • timestamp 0:24 – I went back to select the other category (6in1), chose a treatment, and May 20 is not available/greyed out, as it should be.

    So, again, if I select any service (treatment) from category 1 (HIEMT), the system ignores that May 20 is a holiday in the general settings, and you can pick that day. That is why I had to manually lock that day for ONLY category 1 (HIEMT).

    It seems as if something would/can override the holiday settings(?)
    As soon as I manually unlock May 20, any service from category 1 (HIEMT), it becomes available again for that day, although it should not, as it is a holiday in the general settings)

    Gabe

    PS: something is strange, I have a clone/copy (staging if you will) of this site, and I just checked, setting May 20 as a holiday is working there for all services (without manually locking that day), so I’m totally confused now why it does not work on the main site.

    • This reply was modified 6 months, 1 week ago by geekayhu.
    Plugin Author WebbaPlugins

    (@webba-agency)

    One more question: are you using any cache plugins in your WordPress?

    Thread Starter geekayhu

    (@geekayhu)

    Yes, I am, but I deactivated them for testing. Actually, I deactivated all the other plugins except for Elementor, Elementor PRO and Webba, I just did not share that video, but here it is:

    I unlocked a service from service category 1 (that I had to manually lock) and tested if I could pick a slot for May 20 (holiday) and I can, but it still should not be available for May 20. (I also went back and chose a service from category 2, and it is unavailable as it should be.)

    Plugin Author WebbaPlugins

    (@webba-agency)

    Does it happens only with one date or with other dates too?

    Thread Starter geekayhu

    (@geekayhu)

    It happens ONLY with services in category 1.

    But I tested something else now, and it might be a bug. Services from category 1 were manually locked/unlocked several times.

    As you will see in the video: https://youtu.be/8pyDpJXZhfk

    • I unlocked the day “May 20” for a service AND deleted May 20 from the holidays, so it became available again. This is fine, it is available in the booking.
    • I put May 20 back as a holiday (so I guess it should be unavailable in the booking), cleared the cache, and refreshed the page, so the service should not be available, but it is.

    So, my conclusion is (maybe I’m not correct, just guessing): IF you manually lock/unlock a day, and THEN/AFTER you set that day (one from the previously locked/unlocked ones) as a holiday, the system does not register it as a holiday but makes it still available (if it’s unlocked). So, this might be a/the bug, I don’t know, maybe lock/unlock has priority over the holiday settings(?)

    Gabe

    Plugin Author WebbaPlugins

    (@webba-agency)

    Thank you for sharing this details.

    We will test it on our side.

    Thread Starter geekayhu

    (@geekayhu)

    Thank YOU!

    It might be tricky to solve, because in an extreme scenario, if a client decides to go on a holiday and instead of manually locking those days (in the schedule tools) they set a couple of days in the holidays (general settings), those days would be still available (according to my case if those days or slots were locked before).

    Plugin Author WebbaPlugins

    (@webba-agency)

    Hi

    I’m happy to inform you that the bug with a holiday option was fixed. Bugfix will be included in the next version. Thanks again for your report about this problem.

    If you’d like to get the pre-release version, feel free to contact us at [email protected].

    Thread Starter geekayhu

    (@geekayhu)

    Hi there,

    Thank you for the follow-up. Appreciation for the fix.

    Have a great day!
    Gabe

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Holiday (dates) still show up as available’ is closed to new replies.