How to create multi vendor shop on wordpress

What is multi vendor shop? This is shop which has many sellers. For example, popular Amazon or Ebay are typical multi vendor stores. And today I will explain some ways how to build multi vendor shop on wordpress and Rehub Theme

This tutorial is made for our products. You must have one of our wordpress theme to use information from this tutorial

First of all, install Woocommerce plugin. There are some other plugins which offer multi vendor options, for example Easy Digital Download, but Woocommerce has free Multi vendor extension.

Second plugin which you need – WC Vendor or Dokan or WC Marketplace. All plugins are good and supported by theme. All of them have own advantages and negatives. For example, Dokan has much better design and frontend form even in free version of plugin. PRO version of WC Vendor more cheaper, WC Marketplace has some unique functions like ability to have multiple vendors per product. We will make separate article with comparison soon.

Do you need PRO version of plugins or free? Plugins have fully functional free version of plugins which are extended by theme. So, main difference with PRO version is that PRO version has custom shipping and tax option per each vendor, vendor rating tab and better reports for vendors and admin.

Both Woocommerce and vendor plugins have good documentation and setup guide.

After setup plugins, go to Settings of Vendor plugin for basic setup. Set basic options there for commission, set pages for vendor dashboard, etc

Vendors and Woocommerce pages

By default,  plugins will add some pages to your site, such as dashboard, my account page, order, etc. I recommend you to go to these pages and set for them full width layout

mvendor1

Revendor theme

For better support of woocommerce and vendor plugins, I created Revendor child theme. You can see demo here for WC Vendor and demo for Dokan plugin and Remarket demo for WC Marketplace. This is modern actual well designed theme, special for woocommerce. Check how to get it.

back to menu ↑

Login and register pages and urls for multi vendor

Next thing is setting pages where users can register. Go to Woocommerce – Settings – Account tab and in registration section choose Enable registration on the “My Account” page. Also, it’s better to disable  Automatically generate username from customer email – so, users can set separate login name (will be used for store url and it’s impossible to change it after registration). Also, don’t forget to enable registration on site in Settings – general (click on Anyone can register)

Now, find default woocommerce “My account” page among other pages (Pages – all pages). If everything is ok, this page must have shortcode

Copy url of this page, you maybe need it in future. This page will be used for sign up/sign in for users.

For WC Marketplace, you need to use their register page for vendors instead default woocommerce page. Set such page in Settings – Vendor – Vendor Pages. You can also configure register form in settings of plugin

After you get link of your register page, you must set this link in theme options. By default, our theme has own login/register popup which is very useful for users, because it’s fast way to login. This login popup also has option to register, but i strongly recommend to enable redirect to your woocommerce register page to prevent different incompatibilities. Go to theme option – User option – Add custom register link and add there link to to your registration page which you copied in previous step.

After all settings, when user is not logged in – he see login button, when he logged in – he can see dropdown.

login-vendor

 

By default, it will show only logout link + store settings link, but you can add your custom set of links in dropdown menu which will be visible in this menu. For this, create new menu in Appearance – Menus and add it to User Logged In Menu  Menu location (bottom of menu page). All links from this menu will be added to dropdown.

back to menu ↑

Better shop header

For best user experience on your shop, I recommend to use our special Shop header Layout. You can choose it in theme option – header and menu – header style and choose Shop/Comparison header.

You can also add some additional elements in header in custom area when you choose Shop header layout

In this area you can use also conditional shortcodes and show different information and links for guests and vendors. For example

As you see, I use shortcode wpsm_is_guest which will show content for non logged users and wpsm_is_user which is for users. If you want to show something special here just for approved vendors, use wpsm_is_vendor instead wpsm_is_user. Also, I added magic class act_rehub_login_popup to link which will trigger login popup for non logged users if they click on button.

back to menu ↑

Product submit pages and custom forms

WC Vendor PRO, Dokan Lite and Dokan PRO, WC Marketplace have inner system for adding products from vendor dashboard. You need to configure this step only if you want to use our custom Frontend Forms. If you don’t want to use own custom forms, ignore this step.

So, to create own frontend forms which are based on our RH Frontend plugin (bundled with theme) or any other frontend form plugin, do, next steps.

Go to Rehub->Plugins tab and find link to download RH Frontend PRO plugin.

After setup of plugin – create form for product post type.

rvendor2

Plugin supports most of useful fields by default. You can configure and disable them in form settings. See some video and docs about plugin

If you want to add field for users where they can add coupons for external deals – add custom field in right panel with key

rehub_woo_coupon_code – this is for coupon code

rehub_woo_coupon_date – this is for expiration date (also choose date type of field)

rehub_woo_coupon_coupon_img_url – this field is for adding additional coupon image which will be used in printable coupons (print coupons must be enabled in theme option – shop settings)

savepanel

Attention! Bundled RH Frontend plugin doesn’t have option to add variable products. So, if you need this option, you need to buy PRO version of vendor plugins.

Now, save your submit form and copy shortcode of form in top of page. You will find two shortcodes. One for submit form, second is for Edit Form pages (where user can see all published products and edit them). Copy both shortcodes, create two pages and insert shortcodes there. If you need to make this pages as full width (without sidebar), you can enable this in right panel (Page attributes)

editpage

What if you want to restrict adding products for non vendors (this is usefull if you have several roles on your site). Use next shortcode

First shortcode  will check if user is vendor. If yes – he will see submit form (change id of form)

Second shortcode will check if user is logged in, but he is not vendor yet (for example, you still didn’t approve him). And, if yes – he will see link on vendor dashboard where he can request vendor status.

Third shortcode content will be displayed only for non logged in users and they will see link on login/register page.

Changing links for adding products in vendor dashboard

Go to Theme Option – shop settings – Vendor settings and add links to submit and edit pages which you created in previous step.

 

Woocommerce theme settings

You can find them in theme option – Shop option. You can change there design for single page, design of category loop and some other settings.

back to menu ↑

Vendor shortcodes

Plugin has some default shortcodes which you can know in knowledge base. Theme also has one additional shortcodes:

1. List of favorite shops

2. List of sellers

This shortcode will show archive of sellers. Also, you can show specific user list

You can also show search form and order select before vendor list with next parameter

You can also show grid of shops with default wc vendor shortcode

and with default Dokan shortcode

 

back to menu ↑

Contact seller, friendship and community functions

Rehub theme has great conbination of several plugins to get the best results. So, if you want to extend your  shop and add some community functions – use BuddyPress plugin. After activation, maybe you should to disable some standard modules of BP: activity and group. BP will add option to send private messages and friendship requests + add separate profile of seller to site.

Reputation points

Want to add even more functions – install plugin MyCred which is also supported by theme + theme will show reputation points, badges and levels in profile pages, dropdown menu, etc.

Follow option

Buddypress already has friendship button, but, each user must approve friendship, which is not good for vendor’s stores. So, you can deactivate friendship module and enable follow module with plugin BP follow.  All other things theme will show automatically (includes also follow button on store page). Also, it’s better to enable activity module of BP, so, users can see updates in their activity stream for all followed stores (new products will be also visible in activity)

back to menu ↑

Store locator

Check how to setup Locators for vendors, Products and Posts

back to menu ↑

How to add categories and other filters to vendor

You can also add categories and other filters to vendors. Theme supports now Xprofile fields in woocommerce register page, register popup and in WC Vendor setting page. To set filters for users, create fields in Users – Profile Fields (Extended Profile module must be activated in Settings – Buddypress).

By default, these fields will be included in BP register page, but with theme, you can add them to other forms. Here places where you can enable fields.

For woocommerce registration page and wc vendor page – Theme option – Shop Settings –  Add xprofile fields to register form?

For login/register popup – Theme option – Buddypress options – Add xprofile fields to register form?

Then, you can use new data for filters. For example, in Geo My WordPress plugin form (check previous part about Store locator). To use Xprofile data in form, check next options in GMW form

xprofile

You can choose fields to use in form.

If you use Custom: Horizontal or Custom: Horizontal-big-fields template for form, all xprofiles data will be available after click on “Show option” button

custom_form

You can also show xprofile fields near address field. Use Custom:horizontal-xprofile or Custom:horizontal-big-fields-xprofile template for this. If you use form on page, enable only one select field of xprofile fields. To show all type of fields, you can use GMW form widget in sidebar).

back to menu ↑

Synchronizing vendor location and product location

It’s very common request from our buyers. They want to make store locator for products (not vendors). We have also customization for Post locator function of GMW, but this requires to add location for each submited product. What if products have always the same location = location of vendor? We added simple function which synchronized them. One, vendor set his location one time and all new submited products will have the same location, so, you can use it in product locator

For this, go to Theme option – shop settings – Synchronize product and user location? and enable it

back to menu ↑

Product Hub or multiple vendors per product

Our latest theme version has also such unique function like Comparison prices from multiple vendors in Product. There are two ways for this

1. If you use WC Merketplace plugin, you can check “duplicate” function  To get best results, set Product Layout as “Compare vendors”

2. You can also assign manually list to “Compare vendor” layout. For this, click on Shortcode Generator (button S near media button), choose Woocommerce comparison list shortcode. Begin typing title of products and choose products. Then, insert in content and copy inserted shortcode in code zone area near button

Each vendor must have separate published product for both ways.

back to menu ↑

Email settings

After installation of plugins, it’s better to check your email settings. Sometimes you can have not best labels and email header. Go to woocommerce – setting – email and check all fields of your email

back to menu ↑

Vendor Widgets

We added special widget area in theme Vendor store page sidebar. You can assign there widgets which will be visible only on store page of vendor. There are some ready widgets for this page. Also, you can use our special shortcodes to show additional meta data of vendor

How to show additional meta data of vendors

Our magic shortcode to get such data

This will get meta value from key secondphone. This shortcode will work only for WC Marketplace, because this plugin has options to add custom fields in registration forms.

 

How to create multi vendor shop on wordpress
4.1 (81.82%) 22 votes

Want to get unique wordpress tips?

We won't rent or sell or spam your email. We promise!

Leave a Reply

73 Comments on "How to create multi vendor shop on wordpress"

avatar
  Subscribe  
newest oldest most voted
Notify of
Rogerio Manea
Guest

Hello, I would like instructions on how to leave the store presentation the same as the template presented in the ReHub theme using the WC Vendors Pro plugin. Thank you very much.

jack
Guest

hi can i use the storex or handy theme for multivendor store?

nando
Guest

After reading the settings, I’m not clear how to make sellers can publish discount coupons.
How can I do in order that there is a filter in shops page to be able to filter through name or another characteristic?
Thank you.

Anton P.
Guest

Hello,

is it possible to add dropdown selector field with the list of actual product categories to the store locator search form, to search inside one of category? I own both WC Vendors Pro and REHUB theme. Thanks!

iaccom
Guest

Hi, with ReHub theme. I making comparision with multiple category (example : Accessory, Gadget), is it possible.

Diso
Guest

Is there a Bid functionality in Rehub or do you know a way to implement it using the Rehub? Some plugin, idk. Thanks

jep
Guest

will rehub theme work with woocommerce + wc vendors free + buddypress?

thanks

Jay
Guest

I fail this tutorial at the first step. (Very new to WP) For instance, I can’t see “full width” option. Then “Login/Register not available”.

Rogerio Manea
Guest

Hello friend … I would like to ask for the video production for this tutorial. For users with their level of knowledge this tutorial is simple to understand. However, simple video can clarify exactly the steps we must take, since we can pause and repeat the processes one by one. thank you.

Ola amigo… eu gostaria de pedir a produção de vídeo para esse tutorial. Para usuários com seu nivel de conhecimento esse tutorial é simples de entender. Porém, o vídeo simples, pode esclarecer exatamente os passos que devemos seguir, pois poderemos pausar e repetir os processos um por um. obrigado.

Lorna Langdon
Guest

Hi, i want to allow multi vendors to create daily deals with countdown timers, submission from front-end. I am having difficulty with this as I can’t seem to work out how vendors can set their own countdown timers. I have installed the full demo site to play with . Any advice please?

DAVID
Guest

Hi, I’m starting a web with this template and some shops interested in selling in my place have asked me if there would be a way to import the products from other marketplaces where they already have uploaded them. Thanks

Solomon
Guest

In the Rehub Vendor theme, I have found that any user can add product.. I want only the vendor to add product, So kindly Help.

Nnanyelu
Guest

Hi,

Two questions for you:

1. Can you update all products when a vendor updates their location?

2. How can I have a geolocation when login to show me only vendors and products based on my current location or by changing a drop down in the site?

3. How can I update your theme or have the vendor turn off the store temporarily by using a custom field? like vacation mode?

Thanks!!!

Love your theme.

mahsa
Guest

Hi
I want to find follow plugin for Dokan software.(for follow store)
What do you recommend?

jeff
Guest

hi, which one would u recommend? wc vendors pro or dokan pro?

thanks

prashant
Guest

Kindly Provide Option to Install Demo Data with some Dummy Product as showing in Live Demo.

yony
Guest

can you make the RDOKAN demo theme available for download ?

yony
Guest

By default, it will show only logout link + store settings link when i use wc vendors but for dokan after installation and register new user as seller and create store it doesn’t show the manage your store button directly so i have to add it from menus in apparence and the problem is that it shows it not only for sellers but for every simple user that register

omar masrur
Guest

Hello…i downloaded the demo for revendor. Can you please tell me what module/plugin is enabling production comparisons in the demo? (it is not content egg since that is not activated. also i dont think the free woocommerce version has this comparison. therefore, I am a little confused since i want to change the fields etc.). tks

Nitram
Guest

Can a store owner have several stores/branches? Either WC Vendor or Dokan? Can I setup products to be unique with just vendors attached to them, e.g. the product ‘Shirt’ is sold by several vendors just like on Amazon? Thanks!

rossella
Guest

Hello,thanks for the child revendor theme, very good template.
I’ve just one problem, the “add product” button in the pro dashboard of wc vendors in disappeared. How can i let users add their products?
thanks

rossella
Guest

About the points,
– Store locator
– Synchronizing vendor location and product location

It’s all here? I did those steps but doesn’t work at all. I’m working with wc vendors, have registered a vendor with location, create a form for members locator, but when I do my research some blog posts appear..

do u have any suggestions?
thanks

Jay
Guest
Hi there, this product really seems to do what I want. Only one thing I can’t figure out. My store is setup so that I offer products for sale in my store, but the product is actually linked to my Amazon page. I insert the code and they reveal the code and when they click the link that says input on checkout, it takes them to my Amazon page, so they buy it there and use the code for the discount I have configured. All good, have figured out how to do all that. I know when someone buys through… Read more »
Srinadh
Guest

I am confusing in multivendor price comparing.Is it possible that I will upload data in CSV for four different vendors ,& want to compare them.
Please help me

deval
Guest

hello can u tell me where i can put this code for log in user ? Login and register pages and urls for multi vendor do i have to install this plug in vendor ?
[wpsm_is_guest]Create store[/wpsm_is_guest][wpsm_is_user]Favorite stores[/wpsm_is_user]

Stefan
Guest
I bought ReHub theme and want to setup a vendor site where users can setup their own small stores and sell stuff. But I am confused … How do the vendors sell and get paid? Do their sales money go inte their own account or into my account? I really don’t like if all money goes into my account thinking about all those transactions and bookeeping … could be a real pain in the but… Can vendors sell using their own PayPal or 2CO etc accounts? So can you / anyone explain how vendor sales works in an easy to… Read more »
vivek
Guest

1.how I find templates to change some portions

allen
Guest

hi, how can i setup the header search to locate by product name ???

Jason
Guest

Will the above work with rehub theme? Meaning content egg, dokan and rehub together to make a muli-vendor website along with price comparison section ?