I have a unique situation.
I am setting up a site for a childrens dance studio. I will be selling six month dance packages. Parents can buy six months for 1, 2, 3 or 4 children. This is all straight forward and I think I have it all figured out.
Where things get more difficult is around memberships. I am not selling memberships the parent or guardian, should become a member of the site when they buy a package, but unlike the dance package the membership does not expire. I do however need some way to indicate that the parent has children currently signed up to the program or not.
The parent should have an account page that shows their contact information etc, this will be editable by the parent and visible to the site admin.
Where this gets tricky I would like the parent to be able to create (or have created at signup) accounts for their children as well. This will be used when logged in to :
• Show a child information about current class and schedule
• Allow the child to fill out a number of forms, such as size information for costumes and T-shirts
However Parents should also be able to edit their Childs forms.
Should this be set up as different membership levels?
Should Children be set up as a separate post type so I can do post type relationships?
Hi,
Yes, I agree with you, you can setup Children as a custom post type.
When the parent(WordPress user) log in your website, display a wordpress page, in this page, display below:
1) A post form for creating "Children" post, and charge them with payment:
https://toolset.com/documentation/user-guides/using-cred-commerce-to-add-payments-to-forms/
You can also setup the expiration date of "Children" post
https://toolset.com/documentation/user-guides/automatic-post-expiration/
2) A post view, query "Children" post, filter by post author is current logged-in user:
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/#post-author-is-the-same-as-the-logged-in-user
Display related children information, and edit form link
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/