Okay
  Public Ticket #2925843
Custom "minimum time required before booking"
Closed

Comments

  • Cheying started the conversation

    Hi there, 

    For "minimum time required before booking", is it possible to customize the time to any hours that i want? For example, 19 hrs before the appointment? 

    I couldn't find any way to do that in the system, possible to edit the database so that i can set exactly 19 hours? If yes, can u please guide me on where to edit please?

    Thanks!

  •  2,572
    Aleksandar replied

    Hello Cheying

    Thank you for your purchase.

    It is possible to change this in the database, but you would need to enter the time in seconds, so instead of 19h you would enter "68400".

    When you access your database via PHPMyAdmin (or some other tool), access wp_options table:

    6172199762.png

    It is possible that your prefix is not "wp_", but something else, so if that is the case, please look for "your_prefix_options" table.

    When you access it, you can search through the column "option_name". Search for the term "amelia_settings":

    9596326323.png

    The search will return only one row, and you need to edit it:

    3462547772.png

    In "option_value" column, search for "minimumTimeRequirementPriorToBooking":

    3183676749.png

    There, you can see that I already entered 68400, and applied 19 hours as the minimum time required before booking:

    8136870701.png


    Kind Regards, 

    Aleksandar Vuković
    [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