Hello,
If I understand correctly,
– a customer buy a 6-month membership,
– but he isn’t subscribed to all activities yet.
– He needs to join the activity(ies) he wants to participate.
– When he joins an activity, he joins it for all the events of the 6-month period
First, to make the customers book all events of a 6-month period at once:
– Go to the calendar editor,
– Create an activity and the events for this activity
– Group the events of a this activity for a 6-month period and place this group in a category corresponding to this 6-month period
– Group the events of a this activity for the other 6-month period and place this group in a category corresponding to this 6-month period
– Group the events of this activity for the 12-month period and place this group in another category corresponding to this 12-month period
Do the same for the other activities.
You will have these categories and groups:
Category1: Jan 1st to Jun 30th
– Group1: Activity1 – Jan 1st to Jun 30th
– Group2: Activity2 – Jan 1st to Jun 30th
– …
Category2: July 1st to Dec 31st
– Group1: Activity1 – July 1st to Dec 31st
– Group2: Activity2 – July 1st to Dec 31st
– …
Category3: Jan 1st to Dec 31st
– Group1: Activity1 – Jan 1st to Dec 31st
– Group2: Activity2 – Jan 1st to Dec 31st
– …
Finally, if you want each hobby to have its own calendar, create one booking form per hobby and only display the desired activity on each of them.
In the calendar settings, make sure to select the three groups categories and check the “Groups only” option, so that your customers will only be able to book full groups of events, and not single events.
Now, you need to allow only the customers who have bought a membership to book the activity for the corresponding period.
There is several ways to do that:
1. With Prices and Credits add-on (Fully automated) (demo here)
Thanks to this add-on you can sell “booking passes”, and you can restrict these booking passes to certain group categories.
Then, you will be able to sell
– A pass for the Category1: Jan 1st to Jun 30th
– A pass for the Category2: July 1st to Dec 31st
– A pass for the Category1, Category2 and Category3: Jan 1st to Dec 31st
The customers will need to redeem their passes to book an activity. Then, only the customer who have bought a pass for the corresponding period will be able to book the desired group of events.
2. With user roles
You can sell normal products
– One product for membership from Jan 1st to Jun 30th
– One product for membership from July 1st to Dec 31st
– One product for membership from Jan 1st to Dec 31st
And each time a customer buy one of these product, grant him a specific user role, such as “Member from Jan 1st to Jun 30th”, etc…
You can do it manually thanks to a plugin like User Role Editor, or automatically with custom code.
Then, you will be able to restrict group categories by user roles:
– in the calendar editor,
– in the group categories settings,
– in the “Permission” tab,
– select the appropiate role(s) (for example, Category1: Jan 1st to Jun 30th, select the roles “Member from Jan 1st to Jun 30th” and “Member from Jan 1st to Dec 31th”)
Only the user having one of the corresponding role will be able to book a group from that category.
Regards,
Yoan Cutillas