Skip Navigation

[Resolved] jobsite – membership

This support ticket is created 6 years, 8 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Author
Posts
#710385

Hi,

I am building a job site: hidden link.
The 'free' version is now ok. Recruiters / candidates can register, publish job offers / résumés, search job offers / résumés, and access their dashboard. I would need to upgrade this site with monetization as follows :

A - I would like to show 3 offers to recruiters :
1- STANDARD - they can post 1 job for 60 days for x euros and have the option to put it as featured job for x more euros + have full access to all résumés for 60 days.
2- PREMIUM - they can post 2 jobs for 60 days for xx euros + have free option to put them as featured jobs + have full access to all résumés for 60 days
3- AGENCY - Unlimited job postings for 60 days for xxx euros + full access to all résumés for 60 days (
with minimum commitment of 12 months).

B - I would like to show 2 offers to candidates :
1 - OFFER 1, x euros : 1 résumé is displayed for 3 months, they are members for 3mths.
2 - OFFER 2, xx euros : 1 résumé is displayed for 6 months, they are members for 6mths.

I understand how to limit custom post creation per role.
Now I need to offer 3 different packages for recruiters. But the number of custom posts they can publish is linked to their role (standard, premium, agency) so I think I would need to link each package to a specific role. How can I do that ?
Same issue for candidates.
Or maybe you have another idea to do this smoothly.

I already had a look at this post but it seems woocommerce subscriptions does not allow multiple roles : https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/how-to-use-the-woocommerce-subscriptions-plugin-with-toolset/

Thanks in advance for your precious help.
Eric

#713279

Dear Eric,

I assume we are talking about this case:
Post type "Jobs" is parent post type of "Offers", if it is, you can try this:
1) In a single "Jobs" post, create a post view, list "Offers" posts, get all "Offers" posts created by current user, filter by:

a) Select posts that are children of the Post where this View is shown.
https://toolset.com/documentation/user-guides/querying-and-displaying-child-posts/

b) Select posts with the author the same as the current logged in user.
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/

In section "Loop Output Editor", you can get the post found count with Views shortcode [wpv-found-count]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-found-count

And current logged in user's role:
[wpv-current-user info="role"]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-current-user

Use them in shortcode [wpv-conditional]:
check [wpv-found-count] value is not above specific number AND user's role is specific user role, then display the CRED form for creating new "Offers" posts

More help:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-conditional

#713895

Sorry this is not what I meant. Offers are not a parent of jobs.

When I say I would like to show 3 offers to recruiters I mean 3 packages.
Let me rephrase the whole support request :

The 'free' version of hidden link works fine . Recruiters / candidates can register for free, publish job offers / résumés, search job offers / résumés, and access their dashboard.

Now I need to monetize the site by adding packages as follows.

A - 3 different packages for recruiters
1- STANDARD - recruiter can post 1 job for 60 days for x euros and has the option to put it as featured job for x more euros + has full access to all résumés for 60 days.
2- PREMIUM - recruiter can post 2 jobs for 60 days for xx euros + has free option to put them as featured jobs + has full access to all résumés for 60 days
3- AGENCY - Unlimited job postings for 60 days for xxx euros + full access to all résumés for 60 days (
with minimum commitment of 12 months).

B - 2 different packages for candidates :
1 - OFFER 1, x euros : candidates can post 1 résumé which is displayed for 3 months, they are members for 3mths.
2 - OFFER 2, xx euros : candidate can post 1 résumé which is displayed for 6 months, they are members for 6mths.

I understand how to limit custom post creation per role.
Now I need to offer 3 different packages for recruiters. But the number of custom posts they can publish is linked to their role (standard, premium, agency) so I think I would need to link each package to a specific role. How can I do that ?
Same issue for candidates.
Or maybe you have another idea to do this smoothly.

I already had a look at this post but it seems woocommerce subscriptions does not allow multiple roles : https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/how-to-use-the-woocommerce-subscriptions-plugin-with-toolset/

Thanks
Eric

#714787

How do you setup the "packages"? is it a custom post type or Woocommerce product?

How do you add packages to users?

In my opinion, you should setup the limitation for each user, for example:
1) you can setup "packages" as three Woocommerce products:
1- STANDARD
2- PREMIUM
3- AGENCY

2) when user has purchased one of the product, update their custom user field "Job post count" value, for example:
If the user has purchased product "PREMIUM" package, then update user field "Job post count" value + 2

3) Then you can get the field "Job post count" value with Types shortcode:
https://toolset.com/es/functions/

use it shortcode [wpv-conditional] to display the CRED form for creating new job post

4) After user submit the CRED form, use action hook cred_save_data to change the user field "Job post count" value to -1:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data

#726470

I am sorry Luo.

My issue is Toolset provides a documentation on how to build a membership site and another one on how to build a classified ads site. I based my site on these tutorials. I see thattThis is not fully applicable on my project as these tutorials recommend using Woocommerce... BUT Woocommerce only consider 1 role... and I need 1 role per package.

Do you have any other solution to help monetize the site with different packages linked to different roles ?

Thanks
Eric

#731357

Yes, you are right, Woocommerce only consider 1 role.

The document you mentioned above:
https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/
It is based on the "WooCommerce Subscription" plugin

see screenshot:
hidden link

There isn't such a built-in feature within Toolset, and there isn't existed solution to monetize that:
different packages linked to different roles

If you agree, we can take it as a feature request, our developers will evaluate it.