I've noticed that Amelia allows the booking when the starting time of a service appointment has lapsed within 120 minutes. How and where can I change the default parameter? If this parameter isn't meant to be changeable, where I can find it set in the code so I can modify the code accordingly?
You can go to Amelia's General Settings, and change the "Default time slot step". If you set it to be 5 minutes, you will be able to create services or working hours, or buffer times (anything related to the time slot step) to be 5 minutes, 10 minutes, 15 minutes, 20 minutes, and so on.
thanks for the reply. However, I am not looking to adjust the time slot step.
Here is an example.
Service A is a 6 hour service associated to Employee B.
Employee B is available 10:00 - 14:00 every day.
When the current time is 11:59 or earlier, I am still allowed to book Employee B for service A today, because the time lapsed since the start is within the 120 minute buffer. Vice versa, when the current time is 12:00 or later, I am no longer able to book the service today, because the starting time of the service has lapsed more than this 120 minute buffer.
I would like to know where I can change this buffer time. If this parameter isn't designed to be dynamically, I would like to know where to change it in the code.
You say Service A is a 6-hour-long service, and that the employee B, working on that service is available from 10:00 - 14:00. If this is true, you wouldn't be able to book anything with this employee, since a 6-hour-long service can't fit into 4 hours of employee's working hours.
I suppose you mistyped something.
Buffer times exist in the service itself, when you access the service, you can set up buffer time before and after, but I don't believe that's what you're referring to. Can you take a few screenshots, and send them to me, so I have an idea what issues you're having with Amelia?
My apology for the typo/error. I meant employee B is available from 10:00 - 16:00 (6 hour period).
The rest of the comment is correct. Booking for the present day is possible before 11:59, but not thereafter.
The time after a service starts to the limit of possible booking time (10:00 - 11:59) is what I refer to as timelapsed buffer for booking. This is the time I would like to modify or know where is in code.
I thought your employee's working hours are from 10:00 - 16:00, but in your screenshot I see they're from 14:00 - 20:00. That, now, makes sense, since you can't book after 12:00, you set the "Minimum time required before booking" to be 2 hours (120 Minutes).
This can be configured in Amelia's General Settings
Or when you access the service and navigate to the Settings tab:
I am changing the employee working hours from 10-16 to 14-20 to illustrate how I could still book when my local time was close to 16:00.
What I need is not setting the "Minimum time required before booking", but rather "Maximum time allowed after session started".
I reiterate.
Employee B is available between 14-20 in this case.
My local clock was at 15:47, which is within 120 minutes from 14:00. I was able to book.
My local clock is now at 16:08, which is beyond 120 minutes from 14:00. Booking is no longer possible.
If I were to illustrate you with another set of screenshots, I will have to change the working hours of Employee B to 15-21 so that my local clock would be within 120 minutes of 15:00.
Keyword: "Maximum time allowed after session started".
Latest bookable session is started.
Booking is allowed when the possible session has not started for longer than 120mins.
Booking is not allowed when the possible session has started longer than 120 mins.
What you're describing should not be possible Alan.
There is no such thing as maximum time allowed after session started; Amelia doesn't work that way.
If your employee works from 12:00 - 18:00 (for example), you cannot book an appointment at 14:00 - what you're saying is possible on your website. The plugin's code doesn't allow you to book an appointment at a time which would not allow the appointment to end by the end of your employee's working hours.
Please record your screen, showing me your employee's profile (work hours, assigned services, special days), service settings (duration, buffer time, settings tab), and what you see when you try to book at any given time. What you're saying should not be possible.
The only thing that comes to mind is that your time zone is different from the time zone of your WordPress site. Go to WordPress' general settings and check your time zone. If it's in "UTC+/-" format, change that to the city you're in. Then check the booking form, from an incognito window, and let me know if it's any different.
You simply cannot book an appointment for today if the appointment started 2 hours ago...
The timezones between my local machine and the WP server are the same, both CET. Have a look at the 3rd screenshot once more.
The booking of a 6hr-service was made at 15:47, with a session starting at 14:00 ending at 18:00, within the employee's working hour. Yes, it is evidently possible to book an already started session for up to 120 minutes, as shown in the screenshot with the session starting time prior to the booking time. Please confirm it with a developer about the discrepancy between evidence and design concept.
In any case, I'd like to know where this 120 minute buffer is defined in the code.
The plugin cannot operate in a way you're describing unless there's a misconfiguration or a conflict with something else. If your employee works from 14:00 - 20:00, and your service lasts 6 hours, you can't book an appointment at 16:00 or 15:47, or 14:01 unless the time zone is not correct.
It is not possible unless there's a conflict with something else, or there's an issue with your time zones.
Can you, please, check if the time zone is set as a city in your WordPress' General Settings?
This is wrong:
This is fine:
The logic of the plugin does not allow you to book an appointment for a current-day unless there's time to complete an appointment.
If you try to book at 15:47, when your employee works on a 6-hour-long service, from 14:00 - 20:00 - it can't be done.
Since you can do that, there's an issue I cannot get to the bottom of because I have no remote access. Either provide me a remote access user (in a PRIVATE response), or check the time zone settings one more time, and test again.
No worries, Alan, I'm glad we got to the bottom of this.
I know how exhausting and difficult it can be passing information in written form, so it's quite understandable that there was a misunderstanding. It took me a few comments to realize what the actual issue was anyway.
You're certainly welcome, and I hope you'll achieve your goal with the time zone offset.
If you have any other questions or issues, please feel free to reach out to us again.
I can't say exactly, so I checked with one of our developers. He says that he would need to log into your website, to take a look.
Would you be able to provide us with a temporary wp-admin user (administrator)? If you would, please make sure to enable the PRIVATE response, since this is a public ticket.
I just spoke with our developers, and they said that it was included.
If you're still facing the issue after clearing the cache on the website, please tell me do the previously provided credentials still work, so he can log in again and take a look?
Hello,
I've noticed that Amelia allows the booking when the starting time of a service appointment has lapsed within 120 minutes. How and where can I change the default parameter? If this parameter isn't meant to be changeable, where I can find it set in the code so I can modify the code accordingly?
Thanks,
Alan
Hello Alan
You can go to Amelia's General Settings, and change the "Default time slot step". If you set it to be 5 minutes, you will be able to create services or working hours, or buffer times (anything related to the time slot step) to be 5 minutes, 10 minutes, 15 minutes, 20 minutes, and so on.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Aleksandar,
thanks for the reply. However, I am not looking to adjust the time slot step.
Here is an example.
Service A is a 6 hour service associated to Employee B.
Employee B is available 10:00 - 14:00 every day.
When the current time is 11:59 or earlier, I am still allowed to book Employee B for service A today, because the time lapsed since the start is within the 120 minute buffer. Vice versa, when the current time is 12:00 or later, I am no longer able to book the service today, because the starting time of the service has lapsed more than this 120 minute buffer.
I would like to know where I can change this buffer time. If this parameter isn't designed to be dynamically, I would like to know where to change it in the code.
Hello again Alan.
I don't quite understand this.
You say Service A is a 6-hour-long service, and that the employee B, working on that service is available from 10:00 - 14:00. If this is true, you wouldn't be able to book anything with this employee, since a 6-hour-long service can't fit into 4 hours of employee's working hours.
I suppose you mistyped something.
Buffer times exist in the service itself, when you access the service, you can set up buffer time before and after, but I don't believe that's what you're referring to. Can you take a few screenshots, and send them to me, so I have an idea what issues you're having with Amelia?
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
My apology for the typo/error. I meant employee B is available from 10:00 - 16:00 (6 hour period).
The rest of the comment is correct. Booking for the present day is possible before 11:59, but not thereafter.
The time after a service starts to the limit of possible booking time (10:00 - 11:59) is what I refer to as timelapsed buffer for booking. This is the time I would like to modify or know where is in code.
Best regards,
Alan
Hi again Alan
Can you please provide me a temporary wp-admin user (administrator), so I can take a look at your service and employee?
You should not be able to book a 6-hour long service at 12:00, if the employee works only until 16:00. That's what's confusing me.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I see now, Alan, thank you.
I thought your employee's working hours are from 10:00 - 16:00, but in your screenshot I see they're from 14:00 - 20:00. That, now, makes sense, since you can't book after 12:00, you set the "Minimum time required before booking" to be 2 hours (120 Minutes).
This can be configured in Amelia's General Settings
Or when you access the service and navigate to the Settings tab:
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
No Aleksandar,
I am changing the employee working hours from 10-16 to 14-20 to illustrate how I could still book when my local time was close to 16:00.
What I need is not setting the "Minimum time required before booking", but rather "Maximum time allowed after session started".
I reiterate.
Employee B is available between 14-20 in this case.
My local clock was at 15:47, which is within 120 minutes from 14:00. I was able to book.
My local clock is now at 16:08, which is beyond 120 minutes from 14:00. Booking is no longer possible.
If I were to illustrate you with another set of screenshots, I will have to change the working hours of Employee B to 15-21 so that my local clock would be within 120 minutes of 15:00.
Keyword: "Maximum time allowed after session started".
Latest bookable session is started.
Booking is allowed when the possible session has not started for longer than 120mins.
Booking is not allowed when the possible session has started longer than 120 mins.
How to change this 120min limit.
What you're describing should not be possible Alan.
There is no such thing as maximum time allowed after session started; Amelia doesn't work that way.
If your employee works from 12:00 - 18:00 (for example), you cannot book an appointment at 14:00 - what you're saying is possible on your website. The plugin's code doesn't allow you to book an appointment at a time which would not allow the appointment to end by the end of your employee's working hours.
Please record your screen, showing me your employee's profile (work hours, assigned services, special days), service settings (duration, buffer time, settings tab), and what you see when you try to book at any given time. What you're saying should not be possible.
The only thing that comes to mind is that your time zone is different from the time zone of your WordPress site. Go to WordPress' general settings and check your time zone. If it's in "UTC+/-" format, change that to the city you're in. Then check the booking form, from an incognito window, and let me know if it's any different.
You simply cannot book an appointment for today if the appointment started 2 hours ago...
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Aleksandar,
The timezones between my local machine and the WP server are the same, both CET.
Have a look at the 3rd screenshot once more.
The booking of a 6hr-service was made at 15:47, with a session starting at 14:00 ending at 18:00, within the employee's working hour. Yes, it is evidently possible to book an already started session for up to 120 minutes, as shown in the screenshot with the session starting time prior to the booking time. Please confirm it with a developer about the discrepancy between evidence and design concept.
In any case, I'd like to know where this 120 minute buffer is defined in the code.
Best regards,
Alan
Hello again Alan
The plugin cannot operate in a way you're describing unless there's a misconfiguration or a conflict with something else. If your employee works from 14:00 - 20:00, and your service lasts 6 hours, you can't book an appointment at 16:00 or 15:47, or 14:01 unless the time zone is not correct.
It is not possible unless there's a conflict with something else, or there's an issue with your time zones.
Can you, please, check if the time zone is set as a city in your WordPress' General Settings?
This is wrong:
This is fine:
The logic of the plugin does not allow you to book an appointment for a current-day unless there's time to complete an appointment.
If you try to book at 15:47, when your employee works on a 6-hour-long service, from 14:00 - 20:00 - it can't be done.
Since you can do that, there's an issue I cannot get to the bottom of because I have no remote access. Either provide me a remote access user (in a PRIVATE response), or check the time zone settings one more time, and test again.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Aleksandar,
you are right. My observation of being able to book after a session has started is due to timezone offset.
My apology for not having understood you earlier and having sounded impatient/impolite.
Perhaps I can still achieve what I want, ie. allowing booking after a session has started, with this timezone offsetting trick.
Thanks for bearing with me for so long. A thumb up to you.
Alan
No worries, Alan, I'm glad we got to the bottom of this.
I know how exhausting and difficult it can be passing information in written form, so it's quite understandable that there was a misunderstanding. It took me a few comments to realize what the actual issue was anyway.
You're certainly welcome, and I hope you'll achieve your goal with the time zone offset.
If you have any other questions or issues, please feel free to reach out to us again.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Alan.
I can't say exactly, so I checked with one of our developers. He says that he would need to log into your website, to take a look.
Would you be able to provide us with a temporary wp-admin user (administrator)? If you would, please make sure to enable the PRIVATE response, since this is a public ticket.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Many thanks for solving all my problems Aleksandar,
packaged services work.
call=/search API works as before with this bug fix.
what's best is call=/slots. Awesome API. Efficient, exactly what I need.
thumbup again!
Best regards,
Alan
hello Aleksandar,
i noticed that the new version of Amelia doesn’t contain the API fix yet. Is this fix yet to come, or will the API rather be abandoned?
best regards,
Alan
Hello Alan
I just spoke with our developers, and they said that it was included.
If you're still facing the issue after clearing the cache on the website, please tell me do the previously provided credentials still work, so he can log in again and take a look?
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Sorry Aleksandar,
I noticed that it was in fact my fact for having gotten rid of the read permission of wpamelia-customer.
After adding it back, the API functions again.
Cheers again for your help.
Alan
Great news, Alan
Thanks for letting me know!
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables