To keep the customers intact in 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 a domain or subdomain to the vendors and the vendors can exhibit their products under a separate shop page that completely belongs to them.
Different URLs shall create for each seller under the vendor domain or subdomain.
WordPress Company ? Read More
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. So, you must first install Webkul’s WordPress Woocommerce Marketplace Multi-Vendor module to make use of this extension.
Watch the video to understand the extension workflow:-
- 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 the vendor’s products.
- Both the admin and vendor’s products will display under the vendor’s domain or the subdomain.
- Allows admin to add prefix with vendor’s sub-domain.
The user will get a zip file that 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.
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 and if both the domain and subdomain name is set as enable, So the priority 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.
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. And this server has a Webserver running whose document root is point to Woocommerce files and directories.
So, 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:
Edit above, uncomment ServerName and replace your required domain name with
www.example.com and add ServerAlias with *.domain name as below:
Configuring Nginx Web Server:
Add entries in /etc/nginx/sites-available/default as:
index index.html index.htm index.nginx-debian.html;
## Add rest of the Nginx Configuration here ##
listen 80 default_server;
listen [::]:80 default_server;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
server_name test.webkul.com *.test.webkul.com;
3). Now hit the URL newseller.abc.com on the browser and check if everything’s working properly or not.
Note: By clicking on this link, you can see the DNS configuration.
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 display on the URL tab.
Furthermore, the admin, sets Enable Subdomain as Enable and Enable Domain is as Disable from backend.
Then only products that belong to the seller, selected by the buyer, shall be display at the “SHOP” page.
Here, in the image below, the customer has selected the “Long Sleeve Tee” which belongs to the seller “Doe Shop”.
The customers may choose a particular seller’s product, for example, Michael Snow’s product-wrist watch as shown in the image below.
Moreover, 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/ “.
Furthermore, The customer may simply hover the cursor over Seller- Mikey-Shop and view the URL at the bottom of the page.
Moreover, on clicking the shop URL- Mikey-shop, the Seller- Michael Snow’s separate product page shall open.
That’s all for the Word Press WooCommerce Marketplace Vendor Subdomain.
If you still have any issues, feel free to add a ticket and let us know your views on our Webkul Support System.
Current Product Version - 1.1.1
Supported Framework Version - Wordpress: 5.8,Woocommerce: 6.0,Woocommerce Maketplace: 5.1.3