Okay
  Public Ticket #3062110
Book without choosing time, only date.
Closed

Comments

  • Hans Martin started the conversation

    Hello,
    I'm interested to know if it's possible to make a custom booking with AMELIA.
    Now when customers make a booking they will need to choose what date and what time.

    Is it possible to make a custom booking site where the customer only needs to choose a date, No time.

    So, a booking site where the customer only choose a specifik day and without time.

  •  1,819
    Miloš replied


    Hi, Hans 

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    Yes.  We have a workaround, for example if you want to make a 24 hour service, and with a bit of a custom JS script that we add to the page, you can change the time slot to anything you need such as "choose this date" or anything else.

    -

    Here is an example if we have a business to rent a desk for 24 hours.

    You can create fake/dummy employees to pose as desks;

    i made, perhaps not the best example, but something like this :

    1271856602.png

    I set the service duration to be 24 hours; and create a couple employees , named Desk1 and Desk2, set work hours to be 24 hours;

    7245815766.png
    2041681305.png

    Then changed the label in the Customize section, from Employee to "choose a desk";

    If you do it like that, 

    customers will be able to choose which desk it will be;

    but they still have to pick a date, and the time would say 24 hours;

    2755472301.png

    -

    Alternatively, you could create separate service for each Desk, with each its own service description,

    and you can change label from "service", to "desk";

    and you can remove the employee selection for customers ( if it is only one employee per service, there won't be employee selection by default);

    now they have to pick a date, but they will only be offered that one time slot for each day ( 24 hours), then they can just press "Continue"  to go to the next step, input customer information and the payment screen.

    -

    Make sure to not have a fixed time zone in WordPress general settings, it is recommended to pick a city from the same time zone, and then it will calculate daylight-saving times, to avoid issues with time slots.

    -

    Now, there is a script that you could add,

    to change it to say "Book This" (or anything else), except for the actual time slot.

    Here is the script :

    <script>
    setInterval(function () {
    jQuery('.el-radio-button__inner').html('Book This');
    }, 1000)
    </script>
    

    -

    Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways. 

    If you need help with adding custom JS to the page, please take a look at this article.

    -

    Let me know how it goes, and if you have any questions. Thank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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