Skip Navigation

[Resolved] Allow users to create and manage Gardening Projects, and add plants from catalog

This support ticket is created 3 years, 7 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 3 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#2409981

Hello

I would like to create a members site (will use any subscription plugin for this).

Each member should be able to create, edit and delete gardening projects (projects are only visible to the users who created them, not public).

There is a catalog of plants, and the user should filter plants by various criteria, and then add desired plants to one of the gardening projects.

So the workflow would be:

User creates Gardening Project --> opens project and sets project specific values --> then browses and filters available plants (predefined by site operator) --> adds all desired plants to current project by hitting an ajax "+" button --> list of all plants in the project can be shown.

I have no problem creating the simply plants list with filtering etc.

But how should I put the "projects" layer on top of this? So that each user can create their projects (only visible to the user who created the project), can list, edit and delete the projects, and then add the desired plants from the predefined list by clicking "+" button to each project?

Thanks for your hints or samples.

Greetings,
Andriu

#2410729

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Have you checked we offer fully membership site course that should help you:
- https://toolset.com/course/wordpress-membership-sites/

We also offer the doc about how you can use the WooCommerce Subscription plugin with Toolset:
- https://toolset.com/course-lesson/using-the-woocommerce-subscriptions-plugin-with-toolset/

Regarding:
But how should I put the "projects" layer on top of this? So that each user can create their projects (only visible to the user who created the project), can list, edit and delete the projects, and then add the desired plants from the predefined list by clicking "+" button to each project?
==>
You should create a post type projects that and assign the correct permissions (publish,edit own, delete own, view etc..) to the desired role using Toolset access plugin.

To list the projects belongs to the project creator means loggedin user, you should filter your view by post author equal to loggedin user:
- https://toolset.com/documentation/legacy-features/views-plugin/filtering-views-query-by-author/#post-author-is-the-same-as-the-logged-in-user

To link the projects and plants, you will have to create the post-relationship between projects post type and plants post type. To connect the related post either you can use post form or post relationship form.

Toolset do not offer such feature so that when you click on + sign you automatically add the plats to it. I suggest you should use a free test platform we offer: http://www.discover-wp.com and try to create a test site using any of the reference site we offer:
- https://discover-wp.com/site-templates/

Then you should follow the Docs I shared and check whats possible with Toolset and how that will give you the idea how to take next steps.