Reading list Switch to dark mode

    WooCommerce B2B Marketplace Vendor Subdomain

    Updated 13 December 2023

    B2B Marketplace Vendor Subdomain is important for a business owner to introduce different features to their customers to retain them to the store. They must incorporate different ways to meet the dedicated vendors and customers. There are multiple options available to intact the customers.

    WooCommerce B2B Marketplace Vendor Subdomain offers one such option. The admin may assign domain or subdomain to the vendors and the vendors can exhibit their products under a separate shop page that completely belongs to them.

    But different URLs shall create for each seller under vendor domain or subdomain and the customers can directly access the vendor’s sub-domain and buy products without having to visit the marketplace. 

    Note: This plugin is an add-on to the B2B Multi-Vendor Marketplace for WooCoomerce, so you need to install B2B Marketplace first to use this plugin.

    Check a brief overview of the plugin –

    Start your headless eCommerce
    now.
    Find out More

    Features of B2B Marketplace Vendor Subdomain

    • The admin can assign separate domain names to the vendors.
    • The customers can directly purchase products from the vendor’s panel.
    • To display vendor’s product only will use domain and subdomain.
    • The admin and vendor’s products will display under the vendor’s domain or the subdomain.
    • The plugin allows admin to add prefix with vendor’s sub-domain.

    Installation of B2B Marketplace Vendor Subdomain

    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.

    B2B Marketplace Vendor Subdomain

    Under the Dashboard, hover your mouse over the “Plugins” menu option and it would bring out a Sub-Menu, then select the “Add New” option.

    B2B Marketplace Vendor Subdomain

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

    B2B Marketplace Vendor Subdomain

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

    B2B Marketplace Vendor Subdomain

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

    B2B Marketplace Vendor Subdomain

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

    Backend Management

    B2B Marketplace Vendor Subdomain

    Enable Subdomain- The admin can enable or disable the subdomain for the seller.

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

    Enable Domain- The admin can Enable or Disable the domain and If both the domain and subdomain name is set as enable, So the priority is given to the domain name.

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

    B2B Marketplace Vendor Subdomain

    DNS Panel

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

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

    Furthermore, 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 below:

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

    1. DNS panel entry:

    1). Create an A entry in your DNS panel for newseller.abc.com and map it to 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, then configure your webserver to complete the 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- ” https://demostore1.wcdemo.webkul.com/b2b-marketplace-supplier-sub-domain/product/Casual-printed-women-multicolor-top”. This URL is being displayed on the URL tab.

    B2B Marketplace Vendor Subdomain

    Moreover, the admin sets Enable Subdomain as Enable and Enable Domain is as Disable from the backend.

    B2B Marketplace Vendor Subdomain

    Then only products that belong to the seller, selected by the buyer, shall be displayed on the “SHOP” page.

    B2B Marketplace Vendor Subdomain

    Here, in the image below, the customer has selected the “Woo T-shirt” which belongs to the seller “Doe Shop”.  So, 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. 

    B2B Marketplace Vendor Subdomain

    That’s all for the Word Press WooCommerce B2B Marketplace Vendor Subdomain. Still, have any 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.1.0, WordPress : 5.8.2, Woo-commerce: 5.9.0

    Supported Framework Version - 1.1.1

    . . .

    Leave a Comment

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


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content