Live Demo Buy Now

WooCommerce Marketplace Vendor Subdomain

To keep the customers intact to your store, it is important for entrepreneurs to keep looking for better options, to build an extensive marketplace. They must strive to incorporate different ways and means to meet this motive as there are multiple options open to them. WooCommerce Marketplace Vendor Subdomain offers one such option. The admin may assign domain or subdomain to the vendors. The vendors can exhibit their products under a separate shop page which completely belongs to them.

Different URL’s shall be created for each seller under vendor domain or subdomain. The customers can directly access the vendor’s sub-domain and buy products without having to visit the marketplace. 

*Note: This extension is an add-on to Webkul’s WordPress Woocommerce Marketplace Multi-Vendor module. You must first install Webkul’s WordPress Woocommerce Marketplace Multi-Vendor module to make use of this extension.

Features

  • The admin may assign separate domain names to the vendors.
  • The customers can directly purchase products from the vendor’s panel.
  • The domain or the sub-domain may be used to display only vendor’s products.
  • Both the admin and vendor’s products are displayed under the vendor’s domain or the subdomain. 
  • Allows admin to add prefix with vendor’s sub-domain.

Installation

The user will get a zip file which he has to upload in the “Add New” menu option in the WordPress Admin Panel. For this login to WordPress Admin Panel. Under the Dashboard hover your mouse over the “Plugins” menu option. This would bring out a Sub-Menu and then select the “Add New” option.

After this, you will see an option on the top of your page that is “Upload Plugin”. Click on the option to upload the zip file.

By clicking on the “Upload Plugin” option, you will see a button “Choose File”. Click on the button to browse for the zip file as per the snapshot below.

After browsing the file, click the “Install Now” button to install the plugin as per the snapshot.

When the plugin is installed correctly, you will see the success message and an option to activate the plugin. Click on “Activate Plugin” to activate the installed plugin.

Backend Management

Enable Subdomain- The admin may set the Enable Subdomain as Enable or Disable, to enable or disable the subdomain for the seller.

Vendor subdomain Prefix- The admin may set the Vendor subdomain Prefix for the seller.

Enable Domain- Admin may set Enable Domain as Enable or Disable. If both the domain and subdomain name is set as enabled, the first priority shall be given to the domain name.

Note: If the Domain Name is set as Enable the Seller Domain option shall be visible under Users>All Users>Domain Redirection Settings. The domain URL has to be set by the admin for the seller.

DNS Panel

WooCommerce Vendor Subdomain module allows the vendors to have their own subdomain or domain. The module creates URLs for each vendor’s page under vendor’s subdomain or domain.

Let’s say your website has domain abc.com which is mapped to some IP address X.X.X.X. This server has a Webserver running whose document root is pointed to Woocommerce files and directories.

Now if you want to allow vendors to have their own subdomain or domain which can be accessed by the customers directly for purchasing products, then follow the steps being mentioned below:

Let’s presume you want to facilitate a vendor (with keyword newseller) to use subdomain for its products.

1. DNS panel entry:

1). Create an A entry in your DNS panel for newseller.abc.com and map it your server IP address X.X.X.X

2). Ping and check if newseller.abc.com is resolving to the mapped IP address or not.

2). Configuring Web Servers :

Once DNS entry has been done, configure your webserver to complete subdomain configuration process.

Configuring Apache Web Server:

Add entries in /etc/apache2/sites-available/000-default.conf as:

<VirtualHost *:80>

ServerName newseller.abc.com

ServerAdmin webmaster@localhost

DocumentRoot /path/to/woocommerce/files

</VirtualHost>

Configuring Nginx Web Server:

Add entries in /etc/nginx/sites-available/default as:

server {

listen 80;

root /path/to/woocommerce/files;

server_name newseller.abc.com;

index index.html index.htm index.nginx-debian.html;

## Add rest of the Nginx Configuration here ##

}

3). Now hit the URL newseller.abc.com on the browser and check if everything’s working properly or not.

Frontend View

The admin configures the Seller Domain under Domain Redirection Settings. The domain is visible on the frontend, for example, here- ” demostore1.vachak.com/marketplace-vendor-subdomain/product/long-sleeve-tee/ “. This URL is being displayed on the URL tab.

The admin, at the backend, sets Enable Subdomain as Enable and Enable Domain is as Disable. Then only products that belong to the seller, selected by the buyer, shall be displayed at the “SHOP” page.

 

Here, in the image below, the customer has selected the “Long Sleeve Tee” which belongs to the seller “Doe Shop”.  We can see the subdomain URL. This URL belongs to “Doe Shop” which is different from the URL when the Domain name is set as Enable. 

The customers may choose a particular seller’s product, for example, Michael Snow’s product-wrist watch as shown in the image below.

At the bottom of the page, one can see the subdomain URL which belongs to the vendor- Michael Snow, for example- ” wordpressdemo.webkul.com/marketplace-vendor-subdomain/product/earphones/ “. The customer may simply hover the cursor over Seller- Mikey-Shop and view the URL at the bottom of the page. For instance- ” https://webkulmikeyshop.wordpressdemo.webkul.com/marketplace-vendor-subdomain/seller/store/mikeyshop “

On clicking the shop URL- Mikey-shop, the Seller- Michael Snow’s separate product page shall open. The page displays only Michael Snow’s products under the URL- “webkulmikeyshop.wordpressdemo.webkul.com/marketplace-vendor-subdomain/seller/store/mikey/” which is visible on the URL tab. 

That’s all for the Word Press WooCommerce Marketplace Vendor Subdomain. Still, have an issue feel free to add a ticket and let us know your views to make the module better webkul.uvdesk.com

Current Product Version - 1.0.0

Supported Framework Version - WooCommerce 3.0.x, WooCommerce 3.1.x, WooCommerce 3.2.x, WooCommerce 3.3.x, WooCommerce 3.4.x

. . .

Comments (2)

Add Your Comment

  • Kshitiz Mishra
    Is there any way that user has the option to select their subdomain at the time of registration? as soon as they sign up. and i dont need to point the subdomain on my own
    • gunjita joshi
      Hello Kshitiz,

      Thanks for the query.

      The seller is not allowed to select their subdomains at the time of registration due to security reasons.

      Also, if the seller is approved, he may ask the admin for the samevia Ask to Admin.

      You would better understand and explore this scenario once you purchase the module. For security reasons, this feature cannot be provided to the sellers.

      For further queries, please contact us at-support@webkul.com so that we can assist you on your queries.

  • css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close

    Index