Okay
  Public Ticket #2851726
Customer front end panel bug
Closed

Comments

  • Jon San Roman started the conversation

    Hi,

    I'm having huge problems with front end customer panel loading times.

    By default, the data range is selected to 1 year. It takes 2 minutes aprox to show results. (attachment)

    Is there anyway to change that or improve the time to load results?

  • [deleted] replied

    Hi Jon,

    thank you for reaching out to ussmile.png

    I'm afraid that one year may be a too large of the range depending on how many appointments were made at that time (and the number of the appointments in general in the database, so it takes longer time to retrieve the information.

    We include the optimization in every update and the last one was a large one for the heavier service number data; I will make sure to let the developers know that we are in need of doing so for extensive appointment data as well.

  • Jon San Roman replied

    Hi Ivana,

    What Im saying is that in my wpamelia website the 1 year range is set by default for users, so it takes too long.

    Can I change that?

  • [deleted] replied

    Hi Jon San!

    Thank you for contacting backsmile.png

    Sure!

    We're planning to add it to Customize, but for now it can be done manually by adding this script:

    <script>
    var ameliaBooking = {  cabinet: {    pastDays: 10,    futureDays: 10  }
    }
    </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.


  • Jon San Roman replied

    Hi! 

    Thank you so much, it works fine. Is there a way to improve the speed to show the results?

  • Jon San Roman replied

    What I have to check with the developers to improve that?

    Database connection? Server?

  • [deleted] replied

    Hi, Jon,

    Thank you for choosing Amelia.

    You can try to enable the "Load Entities on page load" option in Amelia -> Settings -> Activation, it might help to increase the load speed.

    Also, the higher the hosting plan you have, the better site performance is. But if you don't have tons of pictures and hundreds of bookings per week, there are no special requirements for the server capacity.

    Best Regards. 

  •  1
    Pablo Gibbs replied

    Hello,

    We enabled "Load Entities on page load", but now the drop down for booking is not in alphabetical order. When we disable it, it will go back to alphabetical order. Having it enabled is having a huge impact on load speeds. Is there a way we can enable and also have it show alphabetically?

    Thanks!

  •  2,572
    Aleksandar replied

    Hello Pablo

    We cannot replicate this issue locally, so can you please open a new ticket, pointing us to your website, where this happens?

    Also, we'd appreciate it if you could provide us with some screenshots, or screen recordings of the issue, so we can see if we can replicate the issue locally.

    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