We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
Hi,
We just started with 2 reservation systems for 23 stores on a multi site. We expect a lot of appointments and use. (not only the amount of visitors and their appointments but also all +/- 30 employees in the backend adding appointments and customers).
To keep the systems / sites running smooth / fast, I wanted to ask if it's possible to automatically delete appointments from the past (let's say 2 weeks).
It should be possible with a Mysql query/rule (cronjobs), right? Do you have it for me?
Do you have more suggestions/advice regarding the loading time? (Caching isn't an option I assume?)
Regards, Myra
In addition:
the sales associates are using the backend of WordPress to manage their appointments. They wanted that because that is a calendar.
Will the front panel load faster (shorter loading time)?
Hi, Myra!
Thank you for your inquiry.
Please add this WP action to "wp-content/mu-plugins/functions.php":
It will be executed as Ajax Call.
You should alter the code in order to prevent execution in other ways than via Cron.
Best Regards.
Hi Liza,
thanks so much! Will this file be overwritten when updating Amelia?
What do you mean by "You should alter the code in order to prevent execution in other ways than via Cron." Do you mean 'must' or 'can' ? Can I use this code without crashing the site? What other ways are there besides Cron?
Hi, Myra!
By "alter the code' our developer meant that you can change the logic or add some other funcionality to it.
That's the code that was added by our developer:
In case of update, you can add it to "/wp-content/mu-plugins/functions.php" (If the file doesn't exist, you can create it). After that, you need to add Cron Job to fire GET request e.g.: https://example/wp-admin/admin-ajax.php?action=wpamelia_delete_appointments&token=some_long_token&weeksCount=2. This URL will execute the code. Our developer added token and weeksCount parameters to the URL (weeksCount is for the number of weeks before which appointments will be deleted and token is for preventing others to execute the code).
Hope you will find this explanation clear.
Best Regards.