Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DOC

Laravel Ecommerce B2B Marketplace

Turn your Bagisto store into a B2B marketplace where business buyers and suppliers trade, with RFQs, buying leads, supplier microsites and payouts.

The Laravel E-commerce B2B Marketplace extension converts your Bagisto store into a B2B marketplace, similar to Alibaba or IndiaMART.

It creates an online platform where business buyers and suppliers around the globe connect and do business with each other.

The extension offers Supplier Microsites, RFQs, Quick Orders, Reviews, Feedback, Product Collections and Order Management.

This release targets Bagisto v2.5.0.

Feature List of Laravel B2B Marketplace

  • Multi-supplier storefront – Every supplier gets a public profile page and its own product catalog, served from one Bagisto installation.
  • Supplier registration, verification and approval – Decide whether a new supplier is approved automatically or only after an admin review.
  • Request-for-Quote (RFQ) workflow – Buyers post requests, suppliers answer with quotes, and buyers approve them and convert them to orders.
  • Buying Leads board – Suppliers see open RFQs that match the products they stock and the categories they serve.
  • Commission engine – A configurable commission percentage is computed per order, and supplier payouts are tracked as transactions.
  • Pay-supplier flow – The admin pays a supplier from the order screen, and the payout can never exceed what is due.
  • Supplier catalog management – Suppliers create their own products or assign products from the master catalog, with their own pricing and inventory.
  • Supplier sales tools – Orders, invoices, shipments and payouts are scoped to each supplier.
  • Two-way messaging – Admin to supplier chat, and supplier to customer conversations.
  • Reviews and flags – Moderated reviews, plus supplier and product flag reasons, open only to real buyers.
  • EAV supplier attributes – A full supplier attribute system, with 39 seeded attributes, groups, options and admin mapping.
  • Landing page CMS – A configurable landing page with banner, features, journey steps and popular suppliers.
  • Bagisto v2.5.0 ready – Runs on Bagisto v2.5.0 with Laravel 13 and PHP 8.4, and follows its search engines, storage layout and Tailwind CSS 4 interface.
  • Per-supplier stock control – Each order reserves, ships and returns stock from the supplier that sold the item, so no supplier is ever oversold.
  • Instant approval on the storefront – Approving or unapproving a supplier or a supplier product shows or hides it at once, with the page cache refreshed automatically.
  • Supplier-aware Elasticsearch – With Bagisto’s Elasticsearch engine enabled, each supplier’s product collection is searched and filtered by supplier.
  • Organised media storage – Supplier logos, banners, product images, RFQ files and chat files sit in their own folders, and existing files move automatically on upgrade.
  • Quote replies one click away – The customer’s quote list opens straight to the tab holding the supplier’s reply, ready to approve or reject.

Installation of Laravel B2B Marketplace

  • Unzip the extension package and merge the “packages” folder into your project root directory.
  • Goto composer.json file and add the following line under ‘psr-4’
"Webkul\\B2BMarketplace\\": "packages/Webkul/B2BMarketplace/src"
  • Run the following command
composer dump-autoload
  • Goto bootstrap/providers.php file and add following line under ‘providers’
Webkul\B2BMarketplace\Providers\B2BMarketplaceServiceProvider::class,
  • Run the following commands to complete the setup
php artisan b2b-marketplace:install
php artisan optimize:clear

The b2b-marketplace:install command runs the migrations, seeds the default data, publishes the assets and clears the cache.

That’s it, now just execute the project on your specified domain.

Step-by-Step: Install the Module

  1. Merge the packages folder from the extension zip into your project root.
  2. Next, add the PSR-4 namespace to composer.json and run composer dump-autoload.
  3. Then register the service provider in bootstrap/providers.php.
  4. Run php artisan b2b-marketplace:install to migrate and seed the module.
  5. Then run php artisan optimize:clear so the new menus and settings load.
  6. Finally, open the admin panel and confirm the B2B Marketplace menu appears.

Supplier Profile URL Mode (Optional)

Choose how a supplier shop URL looks from Configure>>B2B Marketplace>>Settings>>Supplier Profile Page>>Supplier Profile URL Mode.

  • Shop Path (default) – http://example.com/shop/supplier1. No extra setup needed.
  • Subdomain – http://supplier1.example.com/shop. Requires the steps below.

Using Shop Path? Skip these steps and do not set SESSION_DOMAIN.

Step-by-Step: Enable Subdomain Mode

  1. Point *.example.com to your server in DNS.
  2. Add a wildcard alias in your web server and restart it.
  3. Add SESSION_DOMAIN=.example.com to the .env file.
  4. Finally, run php artisan optimize:clear.

For the wildcard alias, Apache uses the following line.

ServerAlias *.example.com

Nginx uses the following line instead.

server_name example.com *.example.com;

Admin Configuration of Laravel B2B Marketplace

After installation, log in to the admin panel and navigate to Configure>>B2B Marketplace>>Settings.

From the General settings, the admin can set the following options:-

Laravel B2B Marketplace module admin general configuration showing status, commission and supplier permissions
  • Status – Enable or disable the B2B marketplace module.
  • Message – Text shown on the storefront while the module is disabled.
  • Allow REQUEST FOR QUOTE at the shop – Show or hide quote requests on the storefront.
  • Commission Per Unit (In Percentage) – The global commission the admin earns on every supplier sale.
  • Supplier Approval Required – New suppliers wait for the admin’s approval.
  • Product Approval Required – Products added by suppliers wait for approval before going live.
  • Supplier Can Create Invoice – Let suppliers create invoices for their orders.
  • Supplier Can Create Shipment – Let suppliers ship the products that were ordered.
  • Supplier Can Cancel Order – Let suppliers cancel their orders.
  • Send Chat Notification – Email suppliers and customers when a new chat message arrives.

For example, with a 10% global commission, the admin earns 10% of each supplier item’s total whenever it is sold.

Categories

Under Allow Categories for Supplier’s, the admin allows either All or Specific categories for suppliers.

Laravel B2B Marketplace module category, supplier flag and product flag configuration

Supplier Flag and Product Flag

The admin enables or disables supplier and product flags, and can set a custom label for the flag button.

  • Guest Can Flag – Let guests report a supplier or a product.
  • Accept Other Reasons – Allow a custom reason besides the listed ones.
  • Other Field’s Placeholder – The hint text for that custom reason field.

Supplier Profile Page

Laravel B2B Marketplace module supplier profile page configuration
  • Supplier Policies Enable At Front End – Show the supplier’s shipping and refund policies on the profile page.
  • Rewrite Supplier’s Company URL – Let suppliers edit their shop URL.
  • Supplier Profile URL Mode – Choose Shop Path (default) or Subdomain. Subdomain mode needs the server setup from the installation section.

Email Verification

Enable this toggle to make new suppliers verify their email address.

Laravel B2B Marketplace module supplier email verification configuration

Step-by-Step: Configure the Marketplace

  1. Log in to the admin panel and open Configure.
  2. Next, choose B2B Marketplace and then Settings.
  3. Switch Status on and enter the Commission Per Unit (In Percentage).
  4. Then choose whether suppliers and products need approval.
  5. Decide which order actions suppliers may take: invoice, shipment or cancel.
  6. Optionally set the Categories, Flag, Supplier Profile Page and Email Verification groups.
  7. Finally, click Save Configuration.

Landing Page of Laravel B2B Marketplace

The admin sets up the landing page from Configure>>B2B Marketplace>>Landing Page.

These settings describe your marketplace and attract suppliers to sell on it.

The landing page opens at /b2b-marketplace when a visitor clicks Sell on the storefront.

Laravel B2B Marketplace module storefront landing page with banner
Laravel B2B Marketplace module landing page feature boxes
Laravel B2B Marketplace module landing page popular suppliers
Laravel B2B Marketplace module landing page supplier journey steps
Laravel B2B Marketplace module landing page about the marketplace section
Laravel B2B Marketplace module landing page footer

Let’s move on with each setting.

Banner Settings

Laravel B2B Marketplace module landing page banner configuration
  • Show Banner – Select Yes to show the banner on the landing page, then upload the banner image.
  • Banner Title – The main title shown on the banner to attract suppliers.
  • Banner Content – The text that appears on the banner image.
  • Banner Button Title – The label of the button shown on the banner.
  • Banner – The banner image itself.
  • Community Count, Business Hour, Payment Duration, Serviceable Pincode – Highlights shown below the banner, such as the number of suppliers.
Laravel B2B Marketplace module landing page highlight figures configuration

Feature Settings

Select Yes in Show Features to showcase the marketplace features. Then fill in the fields below.

Laravel B2B Marketplace module landing page show features configuration
  • Feature Heading – The heading of the features section.
  • Feature Information – Text that appears under the feature heading.
  • Feature Box 1 Icon – The icon of the feature box.
  • Feature Box 1 Title – The title shown under the feature icon.
  • Feature Box 1 Description – A short description shown under the feature title.
Laravel B2B Marketplace module landing page feature box configuration

Note – The admin can set up to 9 feature boxes, each with an icon, title and description.

Popular Suppliers and Journey Settings

Laravel B2B Marketplace module landing page popular suppliers and journey configuration
  • Show Popular Suppliers – Select Yes or No to show or hide popular suppliers.
  • Journey Title – The heading of the supplier journey section.
  • Journey Description – A short introduction shown under the journey title.
  • Journey Step 1 Icon, Title, Description – The icon, title and description of each step, up to 5 journey steps.
  • About B2BMarketplace – Any details about the B2B marketplace the admin wants to share.

Admin Panel of Laravel B2B Marketplace

The platform operator runs the marketplace from the B2B Marketplace menu in the admin sidebar.

It covers suppliers, roles, attributes, reviews, chat, flags, products, categories, requested quotes, orders and transactions.

Supplier Management

The Suppliers screen lists every supplier with their approval status, company URL, creation date, flag count and quick actions.

From here the admin approves or rejects a supplier, adds products for them, edits the profile or logs in as the supplier.

Laravel B2B Marketplace module admin supplier grid with approval status

Editing a supplier opens the full profile form. It covers general information, company details, SEO, images, role, addresses and social links.

Laravel B2B Marketplace module admin supplier edit form

Step-by-Step: Approve a New Supplier

  1. Open B2B Marketplace and then Suppliers in the admin panel.
  2. Tick the suppliers you want to approve.
  3. Then open the mass action menu and hover over Update.
  4. Choose Approve and confirm.
  5. Finally, check that the status now reads Approved.

Supplier Roles

Supplier roles control permissions inside the supplier panel. Consequently, some suppliers can stay catalog-only while trusted partners get full access.

The package ships with an Administrator role that has full access.

Laravel B2B Marketplace module admin supplier roles grid

Supplier Attributes

Supplier attributes are EAV-based, just like products. The package seeds 39 attributes, such as first name, last name, email and social links.

Furthermore, admins can create and edit attributes and manage the attribute-group mapping.

Laravel B2B Marketplace module admin supplier attributes grid

Supplier Reviews

Reviews from business buyers are moderated here. Each review shows the customer, supplier, rating, comment and approval status.

Only approved reviews appear on the storefront, which keeps public ratings trustworthy.

Laravel B2B Marketplace module admin supplier reviews grid

Supplier Chat

The admin and each supplier share a conversation thread.

Admins send announcements, answer questions and discuss approvals from the Supplier Chat screen, so onboarding and support happen in one place.

Laravel B2B Marketplace module admin supplier chat

Supplier Flags and Reasons

Buyers can flag a supplier. Flags land here with the buyer’s reason for the admin to review.

Flag reasons are managed as a separate reusable list.

Laravel B2B Marketplace module admin supplier flags grid

Products and Product Flags

The Products screen gathers every product across all suppliers.

The admin sees price, quantity, type, flags and the owning supplier, and can approve or delete each listing.

For example, our demo assigns 30 catalog products across the three suppliers.

Laravel B2B Marketplace module admin supplier products grid

Product flags work like supplier flags. Buyers report an issue with a product, such as “wrong wattage”, and the admin acts on it.

Laravel B2B Marketplace module admin product flags grid

Supplier Categories

The admin assigns the catalog categories each supplier may operate in.

These categories feed the buying-leads matching and the supplier’s own categories screen.

Laravel B2B Marketplace module admin supplier categories

Requested Quotes

Every RFQ appears here with the customer, supplier, attachments, total products, total price, product name, sample image and status.

Additionally, the admin can download quote images and attachments for reference or audit.

Laravel B2B Marketplace module admin requested quotes grid

Orders and Supplier Payouts in Laravel B2B Marketplace

The admin sees every supplier order under B2B Marketplace>>Orders.

Each row shows the status, paid and remaining amounts, commission, supplier total invoiced, customer and supplier. When a supplier is due, a Pay button appears.

Laravel B2B Marketplace module admin marketplace orders with Pay button

The payout is always the invoiced supplier total minus what was already paid, so the admin can never over-pay.

Hence, orders that are settled show as Already Paid.

How the Commission Is Calculated

When a customer places an order, the module stores the current commission percentage on that supplier’s order. Later changes therefore never alter old orders.

The commission applies to the invoiced sub-total. Then the supplier receives the rest, plus shipping and tax, minus any discount.

The regular order view also shows the B2B breakdown. For example, demo order B2B-0000001 splits as follows.

Grand TotalCommissionAdmin CommissionSupplier Amount
$10,900.005%$545.00$10,355.00
Laravel B2B Marketplace module admin order view with supplier amount and admin commission
Laravel B2B Marketplace module admin marketplace orders grid

Transactions

Every payout is recorded as a transaction, with the supplier name, supplier ID, transaction ID, comment and total.

In the demo, you can see the payouts for B2B-0000001 (Aaron Steel, $10,355.00) and B2B-0000003 (Maria Gomez, $2,185.00).

Laravel B2B Marketplace module admin transactions grid with supplier payouts

Step-by-Step: Pay a Supplier

  1. Wait until the order for that supplier has been invoiced.
  2. Open B2B Marketplace and then Orders in the admin panel.
  3. Find the supplier’s row and click Pay.
  4. Next, add a comment and confirm the payment.
  5. Finally, check that the row now reads Already Paid and the payout is listed under Transactions.

Supplier Panel of Laravel B2B Marketplace

Suppliers sign in at /supplier/login and land on their own dashboard.

The demo supplier, Aaron Steel of SteelWorks Industrial, has two orders worth $14,400.00, two customers and a $7,200.00 average order value. A stock-threshold list also warns about low inventory.

Laravel B2B Marketplace module supplier dashboard with sales, orders and stock threshold

Product Catalog

The catalog screen lists the supplier’s products, 12 for SteelWorks in the demo, with price, quantity, approval, status and ownership.

From here the supplier adds a new product, assigns a master-catalog product, or edits price, inventory and images.

Laravel B2B Marketplace module supplier product catalog

Creating a product opens a full form with pricing, inventory, images and marketplace fields.

Laravel B2B Marketplace module supplier product create form

Editing an assigned product lets the supplier manage its selling price and stock.

Laravel B2B Marketplace module supplier product edit form

Orders, Invoices and Shipments

Supplier sales are fully scoped to the supplier. SteelWorks sees two orders, B2B-0000001 and B2B-0000002, each with its own invoices and shipments.

Depending on the configuration, the supplier can create invoices and shipments for their own orders.

Laravel B2B Marketplace module supplier orders grid
Laravel B2B Marketplace module supplier invoices grid
Laravel B2B Marketplace module supplier shipments grid

The order detail page shows the supplier’s own total and the admin commission on the same screen.

Laravel B2B Marketplace module supplier order detail with commission breakdown

Customers and Transactions

The Customers screen shows every buyer who ordered from this supplier, with their total spend.

Laravel B2B Marketplace module supplier customers grid

Similarly, the Transactions screen lists each payout the supplier has received.

Laravel B2B Marketplace module supplier transactions list

Buying Leads

The Buying Leads board shows open RFQs that match the supplier’s stocked products and allowed categories.

In the demo, SteelWorks sees two leads from John Carter of Acme Corp, each with a quantity, expected price, category tags and a Send Quote button.

Laravel B2B Marketplace module supplier buying leads board

Request For Quote

The RFQ screen sorts every request into New, Pending, Answered, Confirmed and Rejected tabs.

Each item shows the buyer, product, sample image, quantity and requested date.

Laravel B2B Marketplace module supplier request for quote tabs
Laravel B2B Marketplace module supplier answered quote requests

Opening a request shows the quote summary, expected total, quantity, expected price and whether samples are required.

Laravel B2B Marketplace module supplier quote request detail

The send-quote form captures quantity, unit price, sample availability, shipping time and a note for the buyer.

Laravel B2B Marketplace module supplier send quote form

Step-by-Step: Answer a Quote Request

  1. Sign in to the supplier panel and open Request For Quote or Buying Leads.
  2. Open the request you want to answer.
  3. Next, click Send Quote.
  4. Enter the quantity, unit price, sample option, shipping time and a note.
  5. Click Send, then follow the request under the Answered tab.

Reviews and Messages

Suppliers see the reviews they have received.

Laravel B2B Marketplace module supplier reviews list

They also keep two message threads, one with the admin and one with customers, and reply from the same screens.

Laravel B2B Marketplace module supplier messages with the admin
Laravel B2B Marketplace module supplier messages with customers

Settings

The supplier settings cover profile, verification, password and categories.

The profile tab manages the storefront identity: banner, logo, company info, addresses, policies, SEO and social links.

Laravel B2B Marketplace module supplier profile settings

The categories tab shows the categories the admin has allowed for this supplier.

Laravel B2B Marketplace module supplier allowed categories settings
Laravel B2B Marketplace module supplier password settings

Front-end view of Laravel B2B Marketplace:-

Supplier Registration and Login

Suppliers register at /supplier/register and log in at /supplier/login.

Registration captures the supplier’s identity and company details. Whether the account goes live at once depends on the Supplier Approval Required setting.

Laravel B2B Marketplace module storefront supplier registration form
Laravel B2B Marketplace module supplier login page

Supplier Public Profile

Each supplier has a public profile at /shop/{shop-url} in Shop Path mode.

It shows the verified badge, rating, review count, address, member-since date, response time and the product catalog with filters.

Laravel B2B Marketplace module supplier public profile with rating and badge

For example, SteelWorks Industrial shows a 4.5 rating from 2 reviews and 12 products.

Laravel B2B Marketplace module supplier profile product catalog with filters

The profile page also hosts the following tabs:-

  • About Company
  • Quick Order
  • Request For Quote
  • Reviews
  • Contact

The Reviews tab shows the moderated buyer feedback with ratings.

Laravel B2B Marketplace module supplier profile reviews tab

Business buyers can add products to the cart. For marketplace items, they can also use Login For RFQ to negotiate wholesale pricing.

In other words, the storefront serves both immediate purchases and negotiated bulk deals.

RFQ-to-Payout Journey in Laravel B2B Marketplace

Here is the complete end-to-end workflow, using the seeded demo data:-

  1. First, a business buyer (John Carter of Acme Corp) posts an RFQ for warehouse steel shelving.
  2. Next, the RFQ becomes a buying lead for suppliers who stock the requested products.
  3. SteelWorks then opens the request and sends a quote with quantity, unit price, shipping time and a note.
  4. After that, the buyer approves the quote, and it converts into order B2B-0000001 ($10,900.00).
  5. The order is invoiced and shipped, and the admin pays SteelWorks from the B2B orders screen.
  6. Finally, the $10,355.00 payout, after the 5% admin commission of $545.00, is stored as a transaction for both sides.

Support for Laravel B2B Marketplace

That’s all about the Laravel eCommerce B2B Marketplace module for Bagisto.

For any queries or doubts, reach out to us at [email protected].

For help with B2B Marketplace Development, our team is here to help.

Please explore our Laravel Development Services and Quality Bagisto Extensions.

If you have any issues please feel free to add a ticket and also let us know your views to make the module better https://bagisto.uvdesk.com/en/

Thanks for reading the blog.

Current Product Version - v2.5.0

Supported Framework Version - Bagisto v2.5.0

Blog Version - Bagisto v2.5.0
  • Version Bagisto v2.5.0
  • Version Bagisto v2.4.10
  • Version Bagisto 2.4.8
  • Version Bagisto 2.2.2
. . .

Leave a Comment

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


2 comments

  • Dai Software
    • Simant Verma (Moderator)
  • Back to Top

    Message Sent!

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

    Back to Home
    IN THIS ARTICLE

    Table of Content

    Back to top