Live Demo Buy Now

Magento 2 Marketplace Vendor Subdomain

Magento 2 Marketplace Vendor Subdomain: The Vendor Subdomain Add-on 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. Now the vendors can have their own subdomain or domain which can be accessed by the customers directly for purchasing products.

The admin can allow the vendors to only display their products on their subdomain or domain. The admin can make his/her products displayed along with the seller’s products, at the vendor’s subdomain or domain.

As Magento 2 Marketplace Vendor Subdomain is an add-on of Magento 2 Marketplace, therefore you need to install Magento 2 Marketplace before using this module.

Features of Magento 2 Marketplace Vendor Subdomain

  • The Vendors can have their own subdomain.
  • The Vendors can have their own domain.
  • The admin can provide the domain for the seller on the basis of store views.
  • URLs for each vendor’s page under his/her own subdomain or domain.
  • Easy to read and identify URLs for vendor’s subdomain or domain.
  • Customers can directly access vendor’s subdomain or domain to purchase vendor’s products.
  • The subdomain or domain can be set to display only vendor’s product.
  • The subdomain or domain can be set to display both admin and vendor’s products.
  • Supports multiple languages and translations.
  • Module source code is 100% open for customization.

Installation Steps

To install this extension, please follow each and every step carefully as follows:

Step A

After extracting the downloaded zip file and you will get the src folder. Inside src folder, you will find the app folder, copy the app folder to the Magento2 root directory. Please view the below screenshot.

Step B

After the successful installation, you have to run these commands in the Magento2 root directory.

First command- php bin/magento setup:upgrade

Second Command – php bin/magento setup:di:compile

Third Command – php bin/magento setup:static-content:deploy

After running the commands, you need to flush the cache and reindex all from the Magento2 admin panel. Navigate through System>Cache Management. Click Flush Magento Cache button as shown below:

**Note: After the successful installation there is a requirement of some server configuration.

Change Language & Region

For Multilingual support, please navigate. Store>Configuration>General >Locale Options. And select your desired language from the Locale option.

Module Translation

If you need to do the module translation, please navigate the following path in your system. app/code/Webkul/SellerSubDomain/i18n. Open the file named en_US.CSV for editing as shown in below screenshot.

Once you have opened the file for editing. Replace the words after the comma(,) on the right with your translated words.

After editing the CSV file, save it and then upload it to the same folder. Now your module translation is complete.

Admin Configuration 

After the successful installation of Magento 2 Marketplace Vendor Subdomain, there will be some automatic configuration done at the admin’s panel. The automatic configuration can be seen by navigating through Store>Configuration>Seller Profile Page Settings.

  • Rewrite Seller’s Shop” URL will be set to “No”.
  • Allow to automatic create seller public url on seller registration” will be set to “No”.

Vendor Subdomain Module Configuration

The admin can configure the module by navigating through Store>Configuartion>Webkul>Seller Subdomain.

Global Seller Subdomain Setting:

  • Enabled will be set to “Yes”, to enable the module and “No”, to disable the module. After the Enabled has been set to “Yes”, other setting fields appear.
  • Prefix for the subdomain will be given by the admin. The “shop_url” will be automatically extracted from the values given at the time vendor’s registration for “Shop URL”.
  • Display Only Seller’s Public Pages On Seller’s Domain: If set “Yes” then the only seller pages – profile, collection, location, and feedback will be visible on vendor’s subdomain. Else if set “No” then all the pages of the website(cart/checkout/product etc except marketplace landing page and homepage) will be visible on the vendor’s subdomain.
  • The admin can choose to display his/her product at the vendor’s subdomain via “Display Admin Product On Category Page” option. Set “Yes” to show the admin products or set “No” to only show the vendor’s product at the vendor’s subdomain.

Customer Vendor Subdomain Setting

  • Enabled will be set to “Yes”, then the vendor will be allowed to have their domain, store view wise and in this case, the vendor’s page URL will come under vendor’s domain.

Note: If the above setting is set to “Yes” then the admin can provide domain name of each vendor(store view wise).

Seller Domain

After the customer-vendor subdomain setting is enabled then the admin can provide domain of the sellers. For adding the domain name to the seller, an additional tab is provided at the sellers add/edit pages which is Vendor Domain(*).

  • The admin can provide the domain for each store views.

Note: The domain used in the above field should be purchased before it is submitted here.

*some server configuration required.

Front end view With Customer Vendor Subdomain Setting – Disabled

Seller 1:

  • Front View of Marketplace Seller Profile page. The Image below shows the URL for Marketplace Seller Profile as shop-garmentz.example.com

  • Front View of Marketplace Seller Feedback page. The Image below shows the URL for Marketplace Seller Feedback as shop-garmentz.example.com/feedback

  • Front View of Marketplace Seller Location page. The Image below shows the URL for Marketplace Seller Location as shop-garmentz.example.com/location/?loc=Noida,%20sector-63

  • Front View of Marketplace Seller Collection page. The Image below shows the URL for Marketplace Seller Collection as shop-garmentz.example.com/collection 

Seller 2:

  • Front View of Marketplace Seller Profile. The Image below shows the URL for Marketplace Seller Profile as shop-factory.example.com

  • Front View of Marketplace Seller Feedback page. The Image below shows the URL for Marketplace Seller Feedback as shop-factory.example.com/feedback

  • Front View of Marketplace Seller Location page. The Image below shows the URL for Marketplace Seller Location as shop-factory.example.com/location?loc=Noida

  • Front View of Marketplace Seller Collection page. The Image below shows the URL for Marketplace Seller Collection as shop-factory.example.com/collection

Front End View With Customer Vendor Subdomain Setting – Enabled

The domain of the seller’s store will be according to the store view selected by the user.

Store View 1 Domain of the Seller

  • Front View of Marketplace Seller Profile. The Image below shows the URL for Marketplace Seller Profile as ladystoreview1.vachak.com

  • Front View of Marketplace Seller Feedback page. The Image below shows the URL for Marketplace Seller Feedback as ladystoreview1.vachak.com/feedback

  • Front View of Marketplace Seller Location page. The Image below shows the URL for Marketplace Seller Location as ladystoreview1.vachak.com/location

  • Front View of Marketplace Seller Collection page. The Image below shows the URL for Marketplace Seller Collection as ladystoreview1.vachak.com/collection 

Store View 2 Domain of the Seller

  • Front View of Marketplace Seller Profile. The Image below shows the URL for Marketplace Seller Profile as ladystoreview2.vachak.com

  • Front View of Marketplace Seller Feedback page. The Image below shows the URL for Marketplace Seller Feedback as ladystoreview2.vachak.com/feedback

  • Front View of Marketplace Seller Location page. The Image below shows the URL for Marketplace Seller Location as ladystoreview2.vachak.com/location

  • Front View of Marketplace Seller Collection page. The Image below shows the URL for Marketplace Seller Collection as ladystoreview2.vachak.com/collection 

If you have any issue then please let us know anytime. You can raise a ticket for any query at webkul.uvdesk.com.

Current Product Version - 2.0.3

Supported Framework Version - 2.0.x, 2.1.x, 2.2.x

. . .

Comment

Add Your Comment

Be the first to comment.

css.php

Index