Skip Navigation

[Resolved] Planning to do a Multi-site Marketplace Facility / Business DIrectory website

This support ticket is created 7 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 11 replies, has 2 voices.

Last updated by Beda 7 years, 7 months ago.

Assisted by: Beda.

Author
Posts
#422713

I am trying to: Create a website with both marketplace and classified listings functionality.

2nd. My boss wants something like a multi-site website like your https://discover-wp.com with like one-click create sub-website then the client will have his own subdomain to manage his business portfolio along with his products.

I visited these URL:
https://toolset.com/learn/build-directory-classifieds-sites-using-toolset/
https://toolset.com/learn/wordpress-classifieds-site/building-marketplace-sites-with-woocommerce-and-toolset/
https://discover-wp.com/

I expected to see: some ways to create certain packages to manipulate products that are connected to each listing(business) by each user.

Instead, I got: A user management with an ability to post multiple ads.

Note:
Sample packages we have

1st Package: 1 Listing page + 15 allowed gallery images - No Products
2nd Package: 1 Listing Page + 15 allowed gallery images + 3 Products posted

I hope you can help me with this. I've been following your tutorials but I am confused at some points in the end on how I can make the toolset fit what we need.

Thank you.

#422792

This is not possible with Toolset.

You need, on a WordPress Multisite, to create new Subsites and either network-activate your Plugins or let them be activated on a per-site basis.

This can not be automated by Toolset.
Those reference Sites use a complex script that generates your Test Sites.

Things you create with Toolset can be re-used if you as example use the Module Manager.
That Plugin would let you re-use structures you have created, such as Content Templates, Views or Layouts, on other, new sites where Module Manager is installed along with the rest of Toolset.

If you need this on a sub-site basis, or better, user-basis, you need to create either a Custom Script, or use the Module Manager and provide them the structures as modules as you wish.
But the user has then to understand Toolset and it's functionality.

If I misunderstand your goal, please let me know.

#422798

I see I would further do my research on multisites.

Going back to the first one. I would like to create a Business Directory/marketplace facility website wherein clients would subscribe to list their business with a map like other directory websites then they have an option to purchase a higher package where they can also post a number of products.

Thank you.

#422800

1. Clients would subscribe to list their business

This can be done with CRED.
CRED lets you create Forms with which a visitor can subscribe (become a user of any level).
https://toolset.com/documentation/user-guides/cred-user-forms/
Also Posts can be submitted with CRED:
https://toolset.com/documentation/user-guides/creating-cred-forms/

If you use WooCommerce and CRED Commerce, you can also add payment to those forms:
https://toolset.com/documentation/user-guides/using-cred-commerce-to-add-payments-to-forms/

2. A map can be created with Toolset Maps:
https://toolset.com/documentation/user-guides/display-on-google-maps/
This can then be used within a View to display your (or the users) content

3. An option to purchase a higher package where they can also post a number of products.

This is basically what is implemented in the Reference Site, and it's documented here:
https://toolset.com/learn/build-directory-classifieds-sites-using-toolset/

The "higher plans" are basically WooCommerce Products that the user purchases and after, can submit certain content.

#422801

Hi,

I saw the packages/plans as a product on woocommerce and the listings as a custom post type but can we make the users add products they sell on woocommerce or I will be creating a custom post type also for products?

Another thing is having different user roles for each package because I have packages that will limit a user to 3,6,9 product post only or is there any other way like a product post count check on conditional outputs to hide the add button.

#422804

You can, as elaborated above, use CRED to let the user submit Contents.
These contents can also be Products, which come natively with WooCommerce.

It is the same as if you create a Form to submit Custom Post types.
You simply choose Products, and the Form will create Products.

To restrict the amount of Posts a user can submit you will need Custom Code.
A simple approach I showed here to another user:
https://toolset.com/forums/topic/limit-the-number-of-posts-submitted-by-registered-customers/#post-368894

#422811

Hi,

One last question before I do the website. Since our packages include products as a bundle with a Listing page, can we make it like the user account is the one with a 4 week expiry rather than a post expiry?

Thank you

#422812

Users can not expire as such in WordPress.

What you need here, is either a Custom Code that applies your custom Application Logic, or "mirror" the User Profile to a Custom Post type, which can expire.

For Custom Code, you can use the API as a reference:
https://toolset.com/documentation/user-guides/cred-api/

To mirror a user to a Custom post, you will either need to use above API (so to create a Post when a certain Form is submitted), or, you need the user to let fill that Post with information on it's own, using a CRED form.

#422816

Hi,

How about something like a paid membership? The packages would be like membership then register them as various custom roles for each package.

EDIT: I saw this plugin https://wordpress.org/plugins/paid-member-subscriptions/

Can we add this in the mix?

#422869

The thing is, a user can not have many roles.

I know that there are designated Plugins who are specifically designed for Memebership Sites only, who might tamper this and add specific Meta Data to the users to make this possible.

But in WordPress generally, you have one user == one role.
And that is how Toolset also applies this.

To resume, letting expire an User is not possible, but you can let expire a Post, and connect the Post and User with your own Custom Logic, for which the (specially) CRED API will be of great help.

You can add Payment to user CRED form without issues, but the user will not expire without Custom Code.
For this you need, as mentioned, CRED and CRED Commerce.
https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/

Of course we can also assist guidance in dedicated Threads, in case you struggle with the CRED API.

#422916

Hi,

I meant to say that each package will create a user with a specific user role. so it would be User == Specific Role.

But I'm not getting what you're saying that you will connect a post and user. do you have a sample/demo for that? have no idea on how to do that.

Thank you

#423096

You can, as elaborated, create an User with CRED User forms.
This forms can have payment attached, which is basically your package.

This is elaborated here:
https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/
https://toolset.com/documentation/user-guides/cred-user-forms/

Connecting a Post Type (Profile mirroring) is only necessary when you want the user to expire.
This requires Custom Code, using our API.

You would apply a CRED save_data action and in this action, you would apply Custom Code, using the WordPress Codex and PHP:
https://toolset.com/documentation/user-guides/cred-api/#csd

There are not any examples for this because it is Custom Code.

I can assist you in another Thread if you struggle with its implementation, but I can be of limited help only:
https://toolset.com/toolset-support-policy/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.