Support » Plugin: Appointment Hour Booking - WordPress Booking Plugin » Different Confirmation pages for different appointment types

  • Resolved qddesign

    (@qddesign)


    Is it possible to have a different end point for different appointment types? For example, a therapist may want to direct people booking session type ‘A’ to a questionnaire page, whilst people booking session type ‘B’ would need to see a FAQ page and not the questionnaire.

    It looks like every booking made within the same calendar goes to the same end point. Can I change this – and if it is possible, how to do it?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Please check the following solution:

    https://apphourbooking.dwbooster.com/faq#q305

    Thank you for using the plugin!

    Thread Starter qddesign

    (@qddesign)

    As a relative noob, I can’t quite connect the content of the FAQ with the outcome I would like to achieve.

    Person 1 makes a booking (type A) and is directed to mysite.com/follow-up-page-A
    Person 2 makes a booking (type B) and is directed to mysite.com/follow-up-page-B

    The content of follow-up-A and follow-up-B need to be entirely different to reflect the different nature of the two appointment types.

    Could you give me a clue as to how I can do this using the passed parameters you indicated in the FAQ you suggested?

    Many thanks,

    Thread Starter qddesign

    (@qddesign)

    Hi @codepeople not sure if you had spotted my follow up question and whether you would have a moment to respond?
    This is a critical need and will be the determining factor between going with the Premium Appointment Hour plugin or an alternative.

    Thanks in advance for your help with this.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Sorry for the late. The idea is to redirect to two different URLs based in the service selected.

    For example, if your services are named “service1” and “service2” then create two pages with addresses like these in your website:

    https://your-website-address/service1-endpoint
    https://your-website-address/service2-endpoint

    … then put the following address in the “thank you” page settings field

    https://your-website-address/%app_service_1%-endpoint

    Location of the “thank you” page settings field:

    https://apphourbooking.dwbooster.com/images/articles/thank-you-page.png

    Thank you for using the plugin!

    Thread Starter qddesign

    (@qddesign)

    Brilliant, thanks @codepeople that does the trick.

    I tried it with your service names and page titles and it worked no problem. However, the services have names like “30 minute therapy session”. Will having spaces between words cause any problems with the naming of either the end point or thank you page?

    Thanks for your help with this, its really appreciated.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    That may be a problem, the page URL in WordPress gets the spaces replaced by dashes. With those services names a more complex solution may be needed, for example passing the service name as GET parameter and use some third party plugin or custom code to generate a different content based in the parameter. Example link configuration:

    https://your-website-address/endpoint?service=%app_service_1%

    Hope this helps.

    Thank you for using the plugin

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.