Skip Navigation

[Resolved] Allowing "Members (w/children)" to Register for Events & Sub-Events, by Age Grp

This support ticket is created 7 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 8 replies, has 2 voices.

Last updated by Beda 7 years, 2 months ago.

Assisted by: Beda.

Author
Posts
#567991

Ed

I have a client who needs to have the following:

Members (with children, belonging to Age Groups)

...to register their...

Children (competitors in specific Age Groups)

...for...

Events (Rodeos) with Sub-Events (competitions by specific Age Groups),

Example:

Member 1 has three children (Competitor 1, Competitor 2, Competitor 3) who compete in riding events for their respective age groups (7-9, 10-12, 13-15).

Once the Member has created an account, they should be able to add their children/competitors and assign them to previously determined Age Groups.

They should then be able to register their individual children for a Rodeo and its included Riding/Roping event(s), by Age Group.

Each member will pay a fee to become a member and another fee to register each child for a Rodeo and its associated Event(s).

I know this is a lot of information and a complicated request. I just want to know if it can be done and the basics of how to do it.

#568196

You should be able to follow these steps:

1. Create 2 Post Types:
- Children
- Rodeos

2. Create a Taxonomy:
- Age

3. Create a New User Form to create new users (members).
This Form is charging a payment with the CRED Commerce and WooCommerce features:
https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/

4. Create a form to add new Children.
This form also charges payment with the CRED Commerce features:
https://toolset.com/documentation/user-guides/using-cred-commerce-to-add-payments-to-forms/

5. Create a few Rodeos

6. Create all age Taxonomy terms you need

7. When the user submits a new Child, the user chooses the Age, and sets a parent (rodeo)

#568198

Ed

Beda,
Thank you! I'll give this a try and get back to you, with my inevitable problems. 🙂

I'm going to leave this ticket open, if you don't mind.

Thanks, again!

#568201

Sure, please feel free to ask me any question related to this issue, whenever you stumble over some troubles.

#569157

Ed

Beda,
I'm just starting on this.

You mentioned creating (only) 2 post types of Rodeos and Children (I'll use Competitors, instead of Children). Should there not also be a third post type of Events? There will be different Events, for each Rodeo.

#569187

Ed

I think this will be my issue (and this should give you a better idea as to why this is confusing for me):

There will be a standard list of Events, that (may or may not) take place at every Rodeo.

There are Age Groups that (may or may not) be included for each Event.

Rodeo One
Event: Mutton Busting (available to 5-7 year olds)
Event: Calf Roping (available to 8-10 years and 11-13 year olds)
Event: Bull Riding (available to 14-16 year olds)
Event: Team Calf Roping (available to 11-13 year olds and 14-16 year olds)

Rodeo Two
Event: Calf Roping (available to 8-10 years and 11-13 year olds)
Event: Bull Riding (available to 14-16 year olds)
Event: Team Calf Roping (available to 11-13 year olds and 14-16 year olds)

I don't want to create (new) Events for every Rodeo I create. I want to re-use the Events or even have them available to more than one active Rodeo.

I so appreciate your help with this!

#569426

OK.

This is a little complex, and the best (for your ease) would obviously be to wait for the new M2M Relationship features coming in Types, but I cannot expect you to wait, because well, it will still take a lot of time.

So let's set this up the classic way.

I don't want to create (new) Events for every Rodeo I create. I want to re-use the Events or even have them available to more than one active Rodeo.

After creating the Rodeo and Event CPT, create an intermediary Post type. Make it child to both the Rodeo and events.
This Post type will allow you to connect many Rodeos with many Events.

It's elaborated here:
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/

Your main post type that you will query is the Intermediate post type.
From that, in a View, you can call the parent Rodeos and parent events.

The events are gonna be categorized with a Taxonomy (age range).

I think, your intermediate Post Type can be the "Childs".
So when a User creates/adds a child, he will choose:
Rodeo Parent, Event Parent, and age.

If he needs to register the child for a new event/rodeo, a NEW Child is required.

With the upcoming Many To Many relationships updates in Types, this will be much easier.

But that is not yet something I can show you, hence, if you are in a hurry, I suggest to go with the classic methods.

#570742

Ed

Beda,
Just keeping this open...

Thank you!

#571278

OK, please let me know in case you need some more informations!