- Posts: 238
- Thank you received: 4
Force user to book 2 Events on two different days
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
9 years 8 months ago - 9 years 8 months ago #84955
by Patrick
Force user to book 2 Events on two different days was created by Patrick
Hello
I have the following situation:
People can book training lessons. One lesson last one hour. Lessons are attached to Courses.
Course 1 is on August 8th and has the following lessons:
10:00 to 11:00 (= 1 lesson)
11:00 to 12:00 (= 1 lesson)
14:00 to 15:00 (= 1 lesson)
15:00 to 16:00 (= 1 lesson)
Course 2 is on August 10th and has the following lessons:
10:00 to 11:00 (= 1 lesson)
11:00 to 12:00 (= 1 lesson)
14:00 to 15:00 (= 1 lesson)
15:00 to 16:00 (= 1 lesson)
One lesson can get booked by 1 Person only (Capacity set to 1 for each lesson).
I use the Plugin “Eventbooking - Additional Dates” and the “EB Cart” to implement this and it works fine.
But now comes the tricky part
and I don’t know how to implement this:
People must book 2 lessons in minimum and it is not allowed to book these 2 lessons from the same course.
So a person must book one lesson from Course 1 and the second one from Course 2.
If there are more courses, people can book an additional lesson from Course 3 for example and so on.
How can I set this up?
Thank you very much.
Regards
Patrick
I have the following situation:
People can book training lessons. One lesson last one hour. Lessons are attached to Courses.
Course 1 is on August 8th and has the following lessons:
10:00 to 11:00 (= 1 lesson)
11:00 to 12:00 (= 1 lesson)
14:00 to 15:00 (= 1 lesson)
15:00 to 16:00 (= 1 lesson)
Course 2 is on August 10th and has the following lessons:
10:00 to 11:00 (= 1 lesson)
11:00 to 12:00 (= 1 lesson)
14:00 to 15:00 (= 1 lesson)
15:00 to 16:00 (= 1 lesson)
One lesson can get booked by 1 Person only (Capacity set to 1 for each lesson).
I use the Plugin “Eventbooking - Additional Dates” and the “EB Cart” to implement this and it works fine.
But now comes the tricky part
People must book 2 lessons in minimum and it is not allowed to book these 2 lessons from the same course.
So a person must book one lesson from Course 1 and the second one from Course 2.
If there are more courses, people can book an additional lesson from Course 3 for example and so on.
How can I set this up?
Thank you very much.
Regards
Patrick
Last edit: 9 years 8 months ago by Patrick.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 8 months ago #84962
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Force user to book 2 Events on two different days
Try turning on [ General Setting -> Registration Settings -- Prevent Duplicate Registration ] . Users will have to create an account, but I think that this should do what you want it to do
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 238
- Thank you received: 4
9 years 8 months ago - 9 years 8 months ago #84970
by Patrick
Replied by Patrick on topic Force user to book 2 Events on two different days
Hi James and thank you
Unfortunately, your solution does not force the user to book 2 lessons from two different courses (on different days).
Let's say there are 3 courses, each on a different day.
A user must book the first lesson from Course 1, 2 or 3. If booked from Course 1, the second lesson must be booked from course 2 or 3, but not from 1. But it can be course 2 and/or 3.
Regards
Patrick
Unfortunately, your solution does not force the user to book 2 lessons from two different courses (on different days).
Let's say there are 3 courses, each on a different day.
A user must book the first lesson from Course 1, 2 or 3. If booked from Course 1, the second lesson must be booked from course 2 or 3, but not from 1. But it can be course 2 and/or 3.
Regards
Patrick
Last edit: 9 years 8 months ago by Patrick.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 8 months ago #84980
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Force user to book 2 Events on two different days
You're right... it only prevents users from registering for the same course twice. That answered part of your question, but not the main issue.
The only way that I can think of to force the user to register for multi-sessions would be to create a single event with custom fields (set to "required") for each date, with the available sessions available for each of those dates listed (quantity of 1 per session). In order to get the individual session dates to appear on the calendar / listing / etc. and have their own description, you could then create each event session date individually and set the [Custom Registration Handle URL] field for each event to forward the user to the master event for registration, forcing them to register for the complete set of sessions instead of sessions individually.
The only way that I can think of to force the user to register for multi-sessions would be to create a single event with custom fields (set to "required") for each date, with the available sessions available for each of those dates listed (quantity of 1 per session). In order to get the individual session dates to appear on the calendar / listing / etc. and have their own description, you could then create each event session date individually and set the [Custom Registration Handle URL] field for each event to forward the user to the master event for registration, forcing them to register for the complete set of sessions instead of sessions individually.
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
The following user(s) said Thank You: Patrick
Please Log in or Create an account to join the conversation.
- Patrick
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 238
- Thank you received: 4
9 years 8 months ago - 9 years 8 months ago #85004
by Patrick
Replied by Patrick on topic Force user to book 2 Events on two different days
I did test your suggestions, thanks a lot for the input. It’s very complex to setup… But that’s not the most important point.
The user hits the “Register” button for one session (let’s say 10:00-11:00) and then gets redirected to the “master” event. That’s OK so far. Not very logical for the user, because there (on the master event), he must hit the “Register” button again. And there he even must select his desired time again by clicking on the radio buttons showing the different sessoins (time-frames).
Because the “Session-Events” don’t really get booked (because of the redirect to the master Event), they remain visible in the calendar = the capacity function is not working there.
I guess what I need is not possible with EB. EB should have sort of “Group” function where I can group events and have the possibility to nest groups. There should be group-settings, such as “user must select at least a number of X events from child groups. For each child group there should be a parameter such as “user is allowed to select a maximum of X events from this group”.
The user hits the “Register” button for one session (let’s say 10:00-11:00) and then gets redirected to the “master” event. That’s OK so far. Not very logical for the user, because there (on the master event), he must hit the “Register” button again. And there he even must select his desired time again by clicking on the radio buttons showing the different sessoins (time-frames).
Because the “Session-Events” don’t really get booked (because of the redirect to the master Event), they remain visible in the calendar = the capacity function is not working there.
I guess what I need is not possible with EB. EB should have sort of “Group” function where I can group events and have the possibility to nest groups. There should be group-settings, such as “user must select at least a number of X events from child groups. For each child group there should be a parameter such as “user is allowed to select a maximum of X events from this group”.
Last edit: 9 years 8 months ago by Patrick.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 8 months ago #85024
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Force user to book 2 Events on two different days
Yeah, I foresaw all those problems as a downfall to this method... but it was the only way that I could see making it work in EB.
You might need to look for another extension if this method doesn't work for you, unless Tuan was open to building the functionality into EB (I think it would be a complex implementation however).
You might need to look for another extension if this method doesn't work for you, unless Tuan was open to building the functionality into EB (I think it would be a complex implementation however).
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.