Okay
  Public Ticket #2578298
Timing Slots Change
Closed

Comments

  • DREAMCRAFT started the conversation

    Hey Guys

    Previously i'd asked this one

    I've a service which starts at 9 am & i don't want to mention the end timings.
    So that Peoples can start booking for that service time as 9 am only.

    I just want to mention the booking slot timing as only 9 am & not as 9 am to 11 am

    is it possible? how to do this?

    & you've given 

    <script>
    setInterval(function () {
      var elements = document.getElementsByClassName('el-radio-button__orig-radio');
      var appointment_times = document.getElementsByClassName('el-radio-button__inner');
      for (var i = 0; i < elements.length; i++) {
        appointment_times[i].innerHTML = elements[i].value;
      }
    }, 1000)
    </script>

    Can you guys give a little bit of detailed explanation like how to alter this or where to add this script code

  • [deleted] replied

    Hello,


    You need to add this as an HTML code to the page where you have your Amelia short code, with style tags added, like this:

    <script>
    setInterval(function () {
      var elements = document.getElementsByClassName('el-radio-button__orig-radio');
      var appointment_times = document.getElementsByClassName('el-radio-button__inner');
      for (var i = 0; i < elements.length; i++) {
        appointment_times[i].innerHTML = elements[i].value;
      }
    }, 1000)
    </script>