Is there a way to add a dataset repeater that shows service categories from the wix bookings app on the homepage, and clicking on a category item in that repeater links to the book online page and selects the correct category tab on the services list as circled in the screenshot? I need a way to dynamically fetch those category IDs/anchors on the services list and connect them to the categories in the repeater.
hi, is it not possible? has anyone answered?
It doesn’t seem currently possible, since the services category page doesn’t have an API to filter the widget, nor differentiates the URL based on the tab selected.
As an alternate solution, you could build it with the following workaround:
- Collapse the section on the service category page
- Add your own sections and add a “Service list” widget to each section
- Create your own tabs that expand and collapse relevant sections according to the custom tab selected.
The downside of this is it won’t automatically add new categories to the UI if you add them in the dashboard - but a workaround nonetheless
Hi, Ireen from Wix Bookings
We are actually planning to work on a category widget which I believe will answer you needs (can’t commit to timeline yet) and I would love to talk to you to discuss the solution so DM if you are interested.
@einatz are you familiar with other solutions in the meantime?
Another workaround is to create a category widget from editor components that isn’t connected to bookings and create a service list using multiple service lists widgets (one for each category) than you can link with anchor to the relevant list widget. See this template as an exampe