Okay
  Public Ticket #2802935
Appointment selected dates
Closed

Comments

  • Dillon Caldwell started the conversation

    In the employee panel and customer panel, the default selected dates are a week, I know you can click on them to widen the selection, but is there a way to make the selection a month by default?

  • [deleted] replied

    Hi Dillon,

    thank you for reaching out to ussmile.png

    You can do this with this code:

    This is not CSS, but JavaScript.

    You can add it in Custom CSS, I believe, but it has to go in between the <script>...</script> tags:

    <script>
    window.ameliaBooking = {
        cabinet: {
            pastDays: 0,
            futureDays: 30
        }
    }
    </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 CSS to the page, please take a look at this article.

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

  • Dillon Caldwell replied

    Thank you for the help that was able to fix my issue. I do have one more question though that has to do with a similar issue. I'm using a plugin called Amelia Shortcode Extended to show the booking calendar on the frontend of the site. It seems to be pulling the calendar straight from the backend so I believe if you can help me with this it will work on frontend as well. By default the amelia calendar opens up in week view is there a way to make it open up in month view by default?

  • [deleted] replied

    Hi Dilon,

    thank you for the kind replysmile.png

    This is the appointment calendar in the back, from what I can see in the image, right?

    If so, unfortunately, we don't have this option yet.

     I'll kindly ask you to add it as a feature suggestion on this page. 

    Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.