Service Providers filtered by location

Hi

Is there a guide to getting the locations add on working in appointments?

I believe I've set it up as best I can tell but it's not working. I've a couple of issues

1) I want the google maps image to change when I select a new service location. It's not :slight_frown: It's only showing one location which isn't much use!

2) When I select a new location the list of services available changes which is great. I've bound locations to service providers in the service providers tab but the drop down box still lets me select service providers who are not at that location. I need it to filter service providers

This is my code so far.

[app_service_locations]
[app_my_appointments]
[app_service_providers]
[app_services autorefresh="1" select="Please select a treatment"]
[app_monthly_schedule]
[app_pagination month="1"]
[app_login]
[app_confirmation]
[app_paypal]

  • Kieran

    Hi Michelle,

    Thats great I never saw that as an available shortcode?

    It's getting closer. Link is here http://fight4cash.co.uk/store/products/reflexology/?app_service_id=3

    Is there a short code that after picking "Show available providers" doesn't turn into "please chose a service provider" but just displays the box underneath / at the side. I'm trying [app_provider_locations] I dont want the service providers or services to show until I've selected the location ideally.

    I do have one problem now after I select Bristol as my provider location then select a service provider. Next when I click on a service and click "show available times" my service provider dissappears!

  • Michelle Shull

    Hi Kieran!

    I'm looking at your appointments page right now, and I don't see an issue with the providers disappearing, but there's not a location picker, either. It looks like we're getting closer? Don't give up on Appointments just yet! I could tell you the story of what I did to my install when I first got hired here that would make you feel a lot better, but I don't come off good in it. ; )

    (short version: I broke my site.)

    There are eleventy thousand shortcode combinations for Appointments+, which is both great and completely overwhelming while you're just trying to get your calendar to work right without flipping your keyboard off your desk.

    Let me make sure we're on the same page with your issue.

    1. Trying to choose a location and then a service provider makes the provider disappear.
    2. You want to select location first, then provider, then schedule the appointment, correct?

    Let's try this for your shortcode parfait:
    [app_my_appointments]
    [app_service_locations ... select="Please select a service location:"] <- text in quotes can be changed.
    [app_required_provider_locations ... autorefresh="1"]
    [app_services autorefresh="1" select="Please select a treatment"]
    [app_monthly_schedule]
    [app_pagination month="1"]
    [app_login]
    [app_confirmation]
    [app_paypal]

    And see if that does the trick.

  • Kieran

    Hi Michelle,

    Thanks for your efforts. I've decided to do it via url links rather than appointments shortcodes. I noticed in my url each service is a different url as is location and service provider. You can just join them all up in various different ways. So I have the location add on activated but have set up extra pages which is a bit more user friendly I think. By changing the link I can auto populate the appointments page which works well for me

    This way I can provide a bit more detail about specifically the areas I cover and show more detail about my service providers and what services they specialise in as the client goes through the booking process.

    I think it would be useful for others to know you can do it like this actually!

    So thanks for your efforts but I think I'm ok now!

    Kieran

  • Laura

    Hi! Can I just tag along here with a similar question?

    I am working for myself and have no other service provider - however, I work a specific time in one location and then at another place at another day. I would need the customer to choose the location first, see me as the service provider and only my free time in that specific location...So location and time needs to be connected?!

    Is that possible? And if, how? I have no clue about shortcode BTW - just a regular enduser...

    Many thanks!
    Laura

  • Kieran

    Hi Laura,

    I'm about to set up something similar and I believe the use of a dummy service provider would probably work but I've not tried it yet!

    Set your self up as a dummy service provider and change the working hours accordingly. Activate the location add on and pick the two different locations for you and the dummy service provider.

    You can then use shortcode similar to what Michelle has given you or redirect users with URL links like I have done.

    This is an example of one of my links

    http://mystore.com/store/products/service1/?app_provider_location=44007400740038&app_service_id=1&app_provider_id=10#app_worker_excerp

    You can see the "?app_provider_location=44007400740038" is a unique location
    "&app_service_id=1" is the service id
    "&app_provider_id=10#app_worker_excerp" is the service provider ID

    You would need to use the shortcode first though to get your unique location id number. That's what I did anyway!
    Regards
    Kieran

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.