diferents time slots configuration

¡Hello!

In my case, the working hours start at 10AM every day, for almost all providers and all of them work with 60/120 minutes-long appointments.

The providers of a specific service work three days a week (Monday, Wednesday and Friday) from 18:00 to 19:00, and Tuesday and Thursday from 17:30 to 18:30. My schedule shows Monday, Wednesday and Friday without problems but on Tuesday and Thursday, the free time slots don’t show.

I set the Time base option to 30 minutes.

You can see the problem here:

http://oceanboxcenter.com/reservar/?app_service_id=3

The service that have the problem is “Surf-Fit (niños)”.

  • Michelle Shull
    • DEV MAN’s Apprentice

    Hello, IdafeH!

    We’re going to need to tweak just a few things in Appointments to get this to work.

    1. Set your admin time base to 30 minutes, in addition to your standard time base.

    2. Go to Appointments+ > Settings > Add Ons, and enable the “Durations” add on.

    3. You’ll now have a new setting on your Appointments+> Settings page, with three durations options.

    4. In the first one, pick “Minimum time based appointment duration calculus (legacy)”

    5. In the second one, pick “Detect overlap”

    6. In the third one, pick “Invalidate enclosed offsets (legacy)”

    7. Save your settings.

    This should fix your appointment calendar to show the times that start on the half hour on Tuesdays and Thursdays.

    Thanks for your question, IdafeH, and welcome to WPMU DEV!

  • IdafeH
    • WPMU DEV Initiate

    Thank you very much, Michelle.

    Now the services on Tuesdays and Thursdays are shown. But there is a problem. Now users can select a half hour as the beginning of the other services. This is undesirable because these services are classes that start at o’clock hours. There is only one service that start at 17:30 on Tuesdays and Thursdays.

  • Michelle Shull
    • DEV MAN’s Apprentice

    Hi there, IdafeH!

    Would you mind letting me take a closer look under the hood? This is a special case for Appointments+, but I’ve made Appts+ do trickier things than this before. :slight_smile: If this is ok, just grant me temporary admin access to your site by clicking “Grant Access” button in the WPMU DEV Dashboard Settings from the following path and reply on this thread after granting it?

    Admin -> WPMU DEV -> Support -> Support Access Tab

    If you have not installed WPMU DEV Dashboard plugin yet, kindly do that here : https://wpmudev.com/project/wpmu-dev-dashboard/ and then allow access as per the above process.

    Thanks! We’re almost there, I think we’re just a tweak or two away from getting it working.

  • Ash
    • Code Norris

    Hello @IdafeH

    The support access is still not working, do you have any security plugin installed?

    To avoid more delay, please send the admin login info directly to me, I will take a look.

    To send me details, please use our contact form: https://wpmudev.com/contact/

    Select: I have a different question

    Subject: Attn-Ash (this ensures that it will be assigned to me)

    Details:

    1. Send all requested details

    2. Send a link of this thread so that I can track

    3. Send any other relevant link

    I will be happy to take a look :slight_smile:

    Cheers

    Ash

  • Ash
    • Code Norris

    Hello @IdafeH

    I hope you are well today.

    Now users can select a half hour as the beginning of the other services. This is undesirable because these services are classes that start at o’clock hours.

    This is right. When you select “Minimum time based appointment duration calculus (legacy)” in general settings, users will be able to book in every 30 mins. Well, not in 30 mins but in every “base time”.

    So, you have to choose either one.

    Though, for now I am seeing only 6pm slots are open for this service, isn’t it right?

    Cheers

    Ash

  • IdafeH
    • WPMU DEV Initiate

    That’s right. I prefer that users can only select hours o’clock. Well, it’s unconfortable for us but it is better.

    In my mail I ask you about another question: We want to show the number of free seats near the day number and the usernames on the mouse-over. It’s possible? That’s now more important for us.

    Thanks!

  • Michelle Shull
    • DEV MAN’s Apprentice

    Hello, IdahfeH!

    To show the usernames, you'll need to go to Appointments+ > Settings > Addons, and select the "Show Scheduled Users" addon.

    To show the number of open seats left will take a bit of custom code. I'm happy to add it as a feature request, but if it's urgent, it may be a better job for our Jobs Board.

    Thanks for your question!

    [attachments are only viewable by logged-in members]

  • IdafeH
    • WPMU DEV Initiate

    I have already activated the “Show Scheduled Users” addon, but it works only for unavailable appointment schedule segments.

    It will be great if you could make this custom code for me. How much time it would take?

    Thanks!