-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip the first booking step when only one service and one provider are available. #349
Comments
Hi, yes this is a good suggestion! You can change this behavior by adding some JavaScript in frontend_book.js that will check the number of option during initialization and skip the first page if needed. The offending dropdowns are the #select-service and #select-provider. You will just have to make the following ckeck Take a look at the Pull requests are always welcome :)
|
Hello Just discovered EasyAppointments today.. Exciting, thumbs up! :) I have same situation. I want to skip step 1. I have changed the book.php view file but I'm a bit lost in the js part. Can you elaborate where/how to implement the check? Many thanks! |
@TVBZ the frontend_book.js has logic on proceeding with steps (back and forth). You can find this and tweak so that it ignores the first step.
|
Given I'm trying to recreate a Calendly-like experience I would also love to be able to skip the first step. Another way to achieve the same thing, which I think would be even nicer (and more Calendly-like), would be for people to be able to go domain.tld/user and then get a page that just presents all the services available from the specific user. |
A suggested solution is:
This route will not display step 1 of the wizard and start the wizard at step 2. The creation of the URL at first will be manual. Solve the need? If so, I can send a pull request by implementing it. @alextselegidis can I send a PR implementing this? |
I started the changes by reviewing the unit tests. #1042 |
Updating the progress: I created another PR implementing test coverage for customers and services #1044 |
Done, closed in #1048 |
While this might be a nice addition for some people, I think it's not always wanted. Two reasons:
I wouldn't want to have this addition, so I think it should be an option in the settings. |
Hi,
Is there any way to skip the first page ("Select Service & Provider") when there is only one service and one provider available?
In my case it would confuse customers.
If not - is there any file I can change to make this adaptions myself?
Thanks in advance!
The text was updated successfully, but these errors were encountered: