autoselect if there’s only one available worker
Hello!
I wanted to see if there's any news to this question from 2 monts ago?
(I couldn't reply so opening a new ticket).
Is this feature available, or could it be added?
Kind regards Annie.
Old:
Annie asked 2 months ago
Hello! I would like to se if you can add autoselect if there’s only one available worker?
We have 2 workers in the system, one worker covers 9 locations, and the oter worker covers only 1 location.
The default in the worker dropdown is -, could you make it to be the first / only one in the drop down?
Then we would be able to hide the worker selection making it faster to book.
I see you said something similar here: https://easy-appointments.com/support/hide-multiple-workers-which-are-each-bound-in-one-connection/ “If you want I cam make autoselect if there is only one option and you can always hide it. ”
– This is exactly what we need. Is it possible to add? Thanks for a great plugin! ? Question Tags: worker
1 Answers
0Vote UpVote Down
Nikola Loncar Staff answered 2 months ago
Hi Annie, we need to add it as option. It would not be hard thing to add but wait a little bit for option. Best regards,
Nikola
Hello! I would like to se if you can add autoselect if there’s only one available worker?
We have 2 workers in the system, one worker covers 9 locations, and the oter worker covers only 1 location.
The default in the worker dropdown is -, could you make it to be the first / only one in the drop down?
Then we would be able to hide the worker selection making it faster to book.
I see you said something similar here: https://easy-appointments.com/support/hide-multiple-workers-which-are-each-bound-in-one-connection/ “If you want I cam make autoselect if there is only one option and you can always hide it. ”
– This is exactly what we need. Is it possible to add? Thanks for a great plugin! ? Question Tags: worker
1 Answers
0Vote UpVote Down
Nikola Loncar Staff answered 2 months ago
Hi Annie, we need to add it as option. It would not be hard thing to add but wait a little bit for option. Best regards,
Nikola
2 Answers
Hello Annie,
I had the same requirements (only one worker, that needs to be be autoselected and possibly hidden).
Looking thoroughly into the documentation gave me a solution.
You can pass this in the shortcode :
In my case :
[[ea_bootstrap worker="1" location="1" select_placeholder="Choisir" block_days_tooltip="non disponible" width="800" layout_cols="2"]]
Then to hide it, you just have to append an underscore sign before the worker's name.
In your case edit your worker for example "annie" to "_annie".
I did the same for location, as it does not have any use for me either.
Hope this helps.
Please login or Register to submit your answer