How to make multi vendor store on wordpress with store locator, woocommerce multivendor TechzAround

How to make multi vendor store on wordpress with store locator, woocommerce multivendor TechzAround

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. I will show basic settings.

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


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 this page in Settings – Vendor – Vendor Pages

Theme also has inner login system which supports WC Vendor plugin and vendor role. To enable login popup and login/register button in header – go to theme option – header and menu – header style and choose Shop/Comparison header.


Now, you should enable redirect to register page from login modal. It’s required for better compatibility with woocommerce.  Go to theme option – User option – Add custom register link and add there link to woocommerce “My account” page (see previous step).


You can also add additional element in header there. This is code which I use on demo site

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.

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



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 location. All links from this menu will be added to dropdown.

back to menu ↑

User submit page

WC Vendor PRO, Dokan Lite and Dokan PRO have inner system for adding products from vendor dashboard. You need to configure this step only if you use Wc Vendor Free version or if you want to use Frontend Forms for WC Marketplace

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

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


Plugin supports most of useful fields by default. 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)


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.

Adding form to page

Now, save your submit form and copy shortcode of form in top of page, create new page and insert shortcode in it.

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 not logged in users and they will see link on login/register page.

Changing links in dashboard in WC Vendor Free and WC Marketplace Free

By default, plugin has links in dashboard which go inside admin page, but if you set frontend forms, you can change links in theme option – WC Vendor settings.

Adding Edit page

In theme option – Shop settings – vendor settings you can add page where users add products and also where they can edit all their products. To make such page, copy second shortcode from submit form in RH Frontend Plugin


Then, create new page, insert there shortcode and copy link to this page. This page will be place where user can see his submitted aticles, their status and edit links.

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 ↑

Rehub theme has great conbination of several plugins to get the best results. So, if you want to extend your WC Vendor 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

Store locator is function which allows users to search registered stores near them. This is very useful if you have stores which sell offline products with delivery. Steps are next:

  1. Install plugin Geo my wordpress
  2. Install Member location add-on and Single Location add-on inside plugin
  3. Install Buddypress if you don’t have it
  4. Go to Geo My Wp – Forms and create new form
  5. Make sure that you use Rehub and Revendor child theme > 6.2.3 version

Inside new created form there are several setting tab.

Form settings

Page load results

This setting tab allows to change what will be rendered on first visit of page with form (other words, what you will see before search). I recommend to enable Page load features and change Results per page. By default – 5,10,15,20, but there are two user grids in theme (3 column and 4 column). So, if you will use default 4 column – set 8,16,24,32

Search form tab

In search form template use one of template with Custom: prefix. This is special templates for theme and it will have good design. There are next templates

Custom horizontal is horizontal line form. Good to use it on page.


Custom horizontal big fields is the same form as previous, but each field has big size and it’s good to use it in header modules.

Custom: horizontal-bigfields-xprofile and Custom: horizontal-xprofile are the same as previous, but you should use them with combinations with Xprofile (for example, to sort vendor categories), read next part of article for explanation

Search results tab

Also, use one of template with Custom: prefix. There are some 4 column grid, 3 column grid and list style templates. I added templates which show buddypress users, WC Vendor users and combined sellers template.

Use Results page – Same page if you want to see results on the same page. Use another page in cases when you use search form, for example, in global widget.

All other settings of form are not important and can be by default. You can play with them if you want.

After creating form, you can insert it on page with shortcode

where 1 is ID of form. There are some other shortcodes, check them in Geo My Wp – Shortcodes

Assign location map to vendor setting page

By default, all users can set own location in their buddypress account in Location tab. But you can also add location form to vendor’s store setting page.

For free WC vendor – you can customize page of settings. You can check setting page in Wc Vendor – Pages. Then, edit this page and insert before WCV shortcode next shortcode

This will add location form before settings



For WC Vendor PRO – you don’t need to do anything. Form will be applied to store setting page automatically

How to add big header store locator form on homepage


If you want to have the same module on page – do next. Use visual composer for page, enable “Page for layout builder” in page attributes, save draft of post, then enable next setting


Click on classic mode button in visual composer and place next code

Click now to Backend editor button and configure vc module (upload your own image, change text). I use here

but you must use your own shortcode with correct ID. For settings of GMW Form – they are next



As you see, I disable page load features and use big fields form template. In Search results – choose page where you want to show results and output template. Page for results must have

in gmw map use your form ID

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


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


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



How to create multi vendor shop on wordpress

4.1 (82.86%)
21 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

How to get A grade and optimize speed of wordpress TechzAround

How to get A grade and optimize speed of wordpress TechzAround

Samsung Galaxy S7 Edge Review

Samsung Galaxy S7 Edge Review