As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Where in the database are the amount of bookings per user stored? For example, if a user has a package of 5 bookings for a service available, and they have booked 3 of them - how is this calculated on the front-end and the backend? I have had to custom code a recurring package subscription to extend the date allowed to book, and I just need to reset the allowed bookings back to 5 upon that trigger but can't find where in the database this is stored or calculated.
Hi Kara
Thank you for reaching out to us.
When you go to this file wp_amelia_customer_bookings click search and there will be a lot of filters
for example i typed 2 into the Value for customerId and it showed me all of that customer's bookings.
Yes, but that doesn't show what populates the 0 appointment slots left to be booked - I need to trigger that 0 to be 30 again - how is this calculate so that I can make this number back to 30?
Hi Kara
Let me forward this to our Level 2 they might be able to assist you more in this matter.
We appreciate your time and patience.
Hello Kara
If the customer booked all 30 appointments, they will not be able to book them anymore, regardless if they canceled some of them or not. Cancelation is considered as a held appointment, so canceling one will not free the time slot again.
Our developers are currently working on allowing admins to manage packages from the back-end, and I hope modifying the number of appointments a customer has left will be included, but I can't say for sure. At this time, you cannot modify the plugin in order to change the behavior of the packages.
I reached out to one of our developers, to see if there's a way to "reset" the number of appointments in an existing package, but I can't promise anything.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi again Kara
To pull the data for a purchased package with the total number of bookings and the booked number of bookings, use this query:
If you want the ID's of the columns that meet the condition that the number of booked appointments is equal to the number of available appointments, you can use this:
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
One more thing.
Since you want to revert the state, that's a bit problematic. You would need to perform an UPDATE for NULL columns "packageCustomerServiceId" in "wp_amelia_customer_booking" table for the found ID's (unlink them from the package, but their payment is lost when the appointments are listed).
Or
Do an UPDATE of the "bookingsCount" column in "wp_amelia_packages_customers_to_services" to the increased value, so booking will be possible again from the panel, but the new value for the "Total X appointments in this service" will be shown.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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