I am having issues with the shortcode not displaying correctly:
If I add [ameliacatalog employee=2] it DOES load the catalog, and it DOES show both categories (we have 2). HOWEVER, it only shows 1 service in each category and I have 4 services assigned to me in one of the categories.
If I add [ameliacatalog category=2] is shows 3 services, but there are 4 services in that category.
If I add [ameliabooking employee=2] only two of the services (out of 4) show up in the drop down list.
If I add [ameliabooking service=1] or [ameliabooking employee=2 service=1] everything works as expected. HOWEVER, if I change it to [ameliabooking service=6] the booking code never loads, I just see the spinning circle and the hourglass.
I do not see any errors in the server log. Any ideas what might be causing this behavior?
Could you please check if Service with ID = 6 is assigned to you, added to your working hours in your Employee's profile, and has a duration that doesn't exceed the duration of your working hours (including the Buffer time)?
Also, please make sure that the option "Show on site" is enabled for this Service.
If that doesn't help, could you please provide us with a temporary WP Admin login, so we will be able to investigate the issue from the inside? You can post credentials as a private response to this ticket.
I attempted a LOT of things. I added services, deleted services. In the end, I can only get 1 service to show up for me. I tried getting rid of all the services that did not work and then I created services 7 & 8 - and those do not show up correctly for my user either.
There is not a good way to tell you how to re-create as I have tried so many things and I have installed Amelia on another site and it is working fine.
Perhaps try this:
1. Create 2 services and assign them to yourself and Amelia Manager
2. Delete service #2
3. Add service #3 and assign to yourself
4. Add AmeliaBooking to a page/post with employee= and assign to your employee ID
Super weird though – all my shortcodes (I'm testing 6 different ones) just started working yesterday morning. I of course assumed TMS had logged in since Friday and tweaked something but have since found out they didn't. Aleksandar (TMS) has replied that nothing was done and suggested that my problem could have been a caching issue. That would have made sense, however I had flushed all caches a ton of times (from site to server to cloudflare to browser, static, dynamic – everything that ever clears a caching issue) with no result. Also personally I have never actually been able to get any shortcodes except the basic booking one to work anyway – they all just show every service at every location for every employee, or nothing at all (I mean completely blank, not the spinning icon).
Now everything suddenly works fine. As I say, super weird....
Maybe database corruption overwritten by a random save? Who knows...
Liza is out of the office at the moment, so I hope that you don't mind me replying.
Please try purging the cache, and check these points:
1. Are these services visible on the site?
2. If they are, is the employee assigned to these services?
3. If he is, check his working hours. Working hours where services are defined in the intervals will only show the services defined in there. Make sure these two services are also included.
4. Did you assign the employee to another location? If you did, please go to Amelia/Locations, and make sure that the location is visible.
Ivana - I have checked those settings several times. All services are assigned to the Employee, all are set to show on site and working hours are set.
Not sure what LOCATION would have to do with services not showing up with the short code of show all services for an Employee? Also, the services should show up in booking view regardless of working hours since they can book for future - so not sure how that is relevant?
I checked the Amelia Test page, and changed the shortcode to this:
So, that loads the employee with the ID:2 (Mike Biolsi). On the front-end it shows only one category and only one service, like you said:
This is because of how you set up your employee's work hours:
As you see, this employee is assigned only to this service "Website Training" from Tue - Thu. That's why it loads only one service, because even though you did assign the employee to 3 services in total under "Assigned Services" tab:
You added work hours that serve only one of those services. When I remove the dependency from the employee's working hours:
The page on the front-end shows both categories, and all 3 services:
As Ivana mentioned under point #3 in her previous response, the issue you were having was related to the way you configured the work hours of an employee.
This seems to have fixed the issue on this page as well where you added the filter for "Service 7", but since the employee didn't have any work hours assigned to this service, it never loaded.
I am having issues with the shortcode not displaying correctly:
If I add [ameliacatalog employee=2] it DOES load the catalog, and it DOES show both categories (we have 2). HOWEVER, it only shows 1 service in each category and I have 4 services assigned to me in one of the categories.
If I add [ameliacatalog category=2] is shows 3 services, but there are 4 services in that category.
If I add [ameliabooking employee=2] only two of the services (out of 4) show up in the drop down list.
If I add [ameliabooking service=1] or [ameliabooking employee=2 service=1] everything works as expected. HOWEVER, if I change it to [ameliabooking service=6] the booking code never loads, I just see the spinning circle and the hourglass.
I do not see any errors in the server log. Any ideas what might be causing this behavior?
Hi, Mike,
Thank you for choosing Amelia.
Could you please check if Service with ID = 6 is assigned to you, added to your working hours in your Employee's profile, and has a duration that doesn't exceed the duration of your working hours (including the Buffer time)?
Also, please make sure that the option "Show on site" is enabled for this Service.
If that doesn't help, could you please provide us with a temporary WP Admin login, so we will be able to investigate the issue from the inside? You can post credentials as a private response to this ticket.
Looking forward to hearing from you.
Good morning, Lisa. I have tried the following:
Still not working :(
Liza,
I attempted a LOT of things. I added services, deleted services. In the end, I can only get 1 service to show up for me. I tried getting rid of all the services that did not work and then I created services 7 & 8 - and those do not show up correctly for my user either.
There is not a good way to tell you how to re-create as I have tried so many things and I have installed Amelia on another site and it is working fine.
Perhaps try this:
1. Create 2 services and assign them to yourself and Amelia Manager
2. Delete service #2
3. Add service #3 and assign to yourself
4. Add AmeliaBooking to a page/post with employee= and assign to your employee ID
That is what I did at first.
Mike,
Sorry for the delay, it will take me some time to recreate these settings.
I will get back to you tomorrow.
However, could you please clarify if the issue was resolved after you deleted the Service with ID = 6?
Best Regards.
It was NOT resolved after deleting item 6
Hey Mike. Just wondering if you've made any progress with this issue as I have something similar going on. :)
MARK - still working through it
I'm having the same problem. Is there something going on with shortcodes?
Laura and Mark, are either of you working on WP multisite network?
Hey Mike, no not multisite here.
Super weird though – all my shortcodes (I'm testing 6 different ones) just started working yesterday morning. I of course assumed TMS had logged in since Friday and tweaked something but have since found out they didn't. Aleksandar (TMS) has replied that nothing was done and suggested that my problem could have been a caching issue. That would have made sense, however I had flushed all caches a ton of times (from site to server to cloudflare to browser, static, dynamic – everything that ever clears a caching issue) with no result. Also personally I have never actually been able to get any shortcodes except the basic booking one to work anyway – they all just show every service at every location for every employee, or nothing at all (I mean completely blank, not the spinning icon).
Now everything suddenly works fine. As I say, super weird....
Maybe database corruption overwritten by a random save? Who knows...
no multisite here - but I did just put a ticket in around my scheduling as this may be what is causing my issue.
Hi Mike and Laura,
Liza is out of the office at the moment, so I hope that you don't mind me replying.
Please try purging the cache, and check these points:
1. Are these services visible on the site?
2. If they are, is the employee assigned to these services?
3. If he is, check his working hours. Working hours where services are defined in the intervals will only show the services defined in there. Make sure these two services are also included.
4. Did you assign the employee to another location? If you did, please go to Amelia/Locations, and make sure that the location is visible.
Ivana - I have checked those settings several times. All services are assigned to the Employee, all are set to show on site and working hours are set.
Not sure what LOCATION would have to do with services not showing up with the short code of show all services for an Employee? Also, the services should show up in booking view regardless of working hours since they can book for future - so not sure how that is relevant?
Hello Mike.
I checked the Amelia Test page, and changed the shortcode to this:
So, that loads the employee with the ID:2 (Mike Biolsi). On the front-end it shows only one category and only one service, like you said:
This is because of how you set up your employee's work hours:
As you see, this employee is assigned only to this service "Website Training" from Tue - Thu. That's why it loads only one service, because even though you did assign the employee to 3 services in total under "Assigned Services" tab:
You added work hours that serve only one of those services. When I remove the dependency from the employee's working hours:
The page on the front-end shows both categories, and all 3 services:
As Ivana mentioned under point #3 in her previous response, the issue you were having was related to the way you configured the work hours of an employee.
This seems to have fixed the issue on this page as well where you added the filter for "Service 7", but since the employee didn't have any work hours assigned to this service, it never loaded.
Please check it out and let us know.
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