Skip Navigation

[Closed] Create product to specific user

This support ticket is created 4 years, 1 month 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 3 replies, has 2 voices.

Last updated by Minesh 4 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1894389

Hi Toolset team,

could you please help me if is possible to create this with TS Access / Forms?

Lets say i have 4 lawyers. Everyone will have an account and access to add new Products via Cred form. Products will be document(s) (for example: Contract in docx) and it must be available only for specific user (users will have an access through woocommerce account).

What i need to do:
Assign new product In cred form to specific user via dropdown button.
//or
Create Product via cred form with attached document and input ID of specific user. Then separately create View where will be condition that only this user (by ID) have an access to this Product.

Thank you in advance. To be honest I will be surprised if there will be solution for this make it in Toolset Forms.

Have a nice day.

Jakub

#1894845

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Assuming that you will allow users to create the product only after loggedin.

I think I've a better approach, what if, user will create the product using Toolset form and we should make sure that the author of the product is set as current loggedin user.

Then, later, where you want to display the products using views on loggedin user dashboard, we can filter the products by author equal to current loggedin user.
=> https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/

Will that work or you have much complicated scenario compare to what I think?

#1894901

Hi Minesh,

thank you for message and information. Ok - sounds good but i´m still wondering how to setup this process.

How can I setup/select in cred form for new product author of the product for different user? I wonder that cred form will be available under login of lawyer (access by role: lawyer) and for user will be different role and account where i will setup View for products.

I can setup View and other things but what i don´t understand in your scenario is how to select author of post from Cred form on front-end.

Thank you in advance for clarify.

#1894949

Minesh
Supporter

Languages: English (English )

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

First of all, please check following doc about how you can create a product form and what fields are supported and what not:
=> https://toolset.com/course-lesson/creating-front-end-forms-for-adding-woocommerce-products/

Once you are fine with above product creation:

How can I setup/select in cred form for new product author of the product for different user?
==>
Do you really need that? as user will be loggedin and we can setup the author of the product as loggedin user. Do you still want to assign different user to product?

Please check the following Doc that may help you:
=> https://toolset.com/documentation/legacy-features/views-plugin/how-to-create-custom-searches-and-relationships-for-users/

The topic ‘[Closed] Create product to specific user’ is closed to new replies.