Skip Navigation

[Resolved] How to create Buyer and Seller groups in woocommerce using Toolset

This thread is resolved. Here is a description of the problem and solution.

Problem:
Can we create buyer and seller groups using Access and WooCommerce

Solution:
Access works on single role not on groups of roles. You can not create access roles groups.

You can find detailed explanation with the following reply:
https://toolset.com/forums/topic/how-to-create-buyer-and-seller-groups-in-woocommerce-using-toolset/#post-618205

Relevant Documentation:
https://toolset.com/documentation/user-guides/limiting-read-access-specific-content/#user-roles-capabilities-for-post-groups

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

Last updated by IvanaB3904 6 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#617838

Hi all. This is what I would like to do:

A multivendor e-commerce system. The idea is to sell locally produced organic food to local groups of customers. I want to provide structure for local producers to form groups, so they can offer their produce together: for example a cheese maker, a fruit producer, egg producer and vegetable producer join forces and have their own common 'product list' which they put on thier own shop page within my system. So I need a way of creating vendor groups, where there will be a vendor administrator who can manage vendor accounts within his own group, who can add new members of his group, or delete them. He will be able to enter new products into the product list for his own group too. Vendor group members can edit their own account, and add their own products to the Group product List. (This all exists because this way they can join all their orders, and drive only one van to deliver products to the consumers, instead of each driving their own vehicle. Another reason is - promoting each other's produce to encourage more customers to buy. Another reason is to cut out the middleman who often earns more than the producers themselves, then to encourage local consumption etc)

Similar for the consumer. They organise themselves into local groups, there is a group administrator, who can add members, or delete them, and he can order produce listed in Product lists for his own group. Consumer group members can edit their own accounts and order produce listed for their own groups.

Between the consumer groups and vendor groups there is a many-to many relationship, because one vendor group can deliver to many consumer groups, and one consumer gorup can order produce from many vendor groups. To manage these relationships, I will have an 'agreement' between them.... This means that a group of consumers has agreed to ordering produce fro a group of producers, and they have agreed to deliver to this group of consumers.

Reading the toolset documentation and looking through the options, it is (more or less) clear to me how to allow access for certain user roles to certain post types or products or categories. However, I am not sure how to create the groups themselves?

All indivdual vendors as well as group vendors will still be vendors - so they will have the same privileges or capabilities... And all consumers are for Woocommerce only customers, and they will all have the same WP privileges.

However, How can I ensure that they have the access only to those products that are linked to their groups? What is the way to set up a group and manage it? Do you know if toolset is compatible with Groups plugin (by itthinx)? If so, will I still be able to you Access to manage users' access to various things?

I don't have the website yet to show you...

Any guidance is much appreciated...

Best regards,

Ivana

#618168

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - We have detailed Doc available about how you can create membership site using WooCommerce:
=> https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/

We already mentioned all possibilities there and whatever requirement does not fit with the above Doc needs alternative solution, maybe custom programming or alternative third party plugin to fulfill your 100% requirements.

Even you can use our free test platform discover-wp.com and create a test site there and try to play with it that will eventually give you idea what Toolset do and dont and based on that you can figure out which option you need to work on.

#618187

HI Minesh. Well, that is one thing to say to people: figure it out yourself.
I am sorry to say that your reply did not answer any of my questions,... Please don't respond with generailities again
Have a good day.
Ivana

P.S. I chose 'I still need help', because there is no option to say 'Supporter didn't answer my questions, but I don't want them to write to me again as it is not useful'. I didn't want to choose 'no more help needed', because that would mean that you successfully answered my questions - which is not the case.

#618205

Minesh
Supporter

Languages: English (English )

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

For your all question the short answer is you can create groups using Access.

However, I am not sure how to create the groups themselves?
==> You cant create groups but roles using access.

How can I ensure that they have the access only to those products that are linked to their groups?
==> Well - you can use Toolset access plugin to restrict your content based on roles. Also - another way is you can also filter your products based on post author, so it will display posts belongs to the author only.

What is the way to set up a group and manage it?
==> There is no feature available to create user groups. That is why I shared the membership tutorial with you and ask you to look as it as we have limited options possible with Toolset. This does not mean that you can not use Toolset but it may require a lot of custom programming to manage your groups etc..etc.. which is beyond the scope of our support policy.

Do you know if toolset is compatible with Groups plugin (by itthinx)? If so, will I still be able to you Access to manage users' access to various things?
=> I do not have any experience with groups plugin. But I see the plugin you shared supports user groups and that feature not available with Toolset. There is no native feature available to make user groups. Toolset Access works role base and you can manage post groups but not user groups.

By this I mean to say is Toolset access operates role (single role) not on group. Also, there is no feature available to create relationship between users or roles or groups. You can build post relationship between post types.

More info:
=> https://toolset.com/documentation/user-guides/limiting-read-access-specific-content/#user-roles-capabilities-for-post-groups

Long story short - this needs custom programming to fulfill groups requirement or you can use any other third party plugin.

#618239

Thank you for your time.