Turn your LaraClassifier site into a multivendor shop: buyers add physical or digital goods to a cart and pay on the website.
Cart and Checkout
One cart for several sellers, paid through your installed online gateways.
Goods Only
Only categories of type Physical goods or Digital goods can sell. Services, rentals and jobs cannot.
Digital Delivery
Private files with protected downloads, a download limit and an expiry date.
Seller Balances
Commission, hold period, withdrawal requests and a full balance history.
Requirements
- LaraClassifier 19.2.0 or later.
- At least one active online payment add-on. Offline payment and Razorpay are not available for marketplace orders.
- The Laravel scheduler running every minute (
php artisan schedule:run).
Installation
- Copy the
marketplacefolder intoextensions/addons/. - Open Admin panel → Add-ons, then install and activate Marketplace.
- Set the type of your goods categories (see Category Types).
- Review Admin panel → Marketplace → Settings.
Legal and Tax Notice
The site collects each payment on its own payment account, keeps a commission and later pays the sellers. Holding money for third parties can be regulated in your country. The add-on does not calculate taxes: prices are charged as entered. Take legal and tax advice before opening the marketplace.
Category Types
Updating LaraClassifier changes no existing category, so nothing becomes purchasable by surprise. In Admin panel → Categories, select categories and use Set type, or edit one category and apply its type to its subcategories.
physical-goods: items delivered by shipping or local pickup.digital-goods: files downloaded after payment.- All other types, including
classifiedandservice, cannot be sold online.
Configuration
The settings cover the goods types you accept, the commission, the hold period, the minimum withdrawal, the payout methods and their transfer fees, the stock reservation time, automatic delivery confirmation, the time to report a problem, download limits, allowed file types and the seller terms.
Selling
A registered seller turns on Sell this item online in the posting form, or from Sale settings in the listing menu, and accepts the seller terms once. The sale price is the price of the listing. The file of a digital product is added from the sale settings after publishing.
Administrators can do it for many listings at once in Marketplace → Products: select listings, or all listings matching the filters, then Put on sale or Take off sale. Settings a seller already chose are kept unless you ask to replace them. Listings of sellers who have not accepted the seller terms stay unavailable, unless you tick the option to accept them on their behalf (only when they agreed outside the website).
Buying
Visitors can fill a cart and must log in to pay. Items in different currencies are paid separately. Shipping is available in the country of the listing. Stock is reserved while the buyer pays and released if the order is not paid in time.
Commission and Payouts
When an order is paid, each seller receives the items and shipping minus the commission in a pending balance. After delivery and the hold period, it becomes available. Sellers request a withdrawal, you pay them outside the website and mark the request as paid in Marketplace → Payouts.
Sellers choose how they are paid in My account → Payouts:
- Bank transfer: account holder and IBAN (country length and check digits verified), with an optional BIC / SWIFT code and bank name.
- PayPal: the email address of the PayPal account.
- Mobile Money: country, operator, wallet number (checked for the country and stored in international format) and account holder. Sellers only see the operators that run in their country (MTN MoMo, Orange Money, Moov Money, Wave, M-Pesa, Airtel Money and others), plus "Other", where they type the operator's name.
In the settings, each method can be turned on or off and given a transfer fee (a percentage plus a fixed part in the currency of the withdrawal) and a note shown to sellers, such as the processing time. For Mobile Money you can choose which operators are offered (all of them when the list is empty). The fee is taken from each withdrawal and frozen on the request: the Payouts list shows the account to pay and the net amount to send. Payout details are stored encrypted.
Disputes and Refunds
Buyers and sellers can report a problem. An open dispute stops the payment to the seller until you decide. Refunds are made at your payment provider, then recorded in the order or the dispute. A refund made after a withdrawal can leave a negative balance, recovered from later sales.
Payment Limits
- The gateways have no webhooks: a payment is confirmed when the buyer returns to the site. If a buyer paid and never returned, check the payment at your provider and use Confirm payment on the order.
- A payment that arrives after its reservation ended takes the stock again when possible. Otherwise the order is set aside for you to honour or refund.
- Check that your gateway supports the currency of your listings.
Permissions
admin.marketplace.view: see orders, sellers, payouts and disputes.admin.marketplace.edit: act on them and change the settings.
CLI & Scheduling
php artisan marketplace:process runs every five minutes. It expires unpaid orders, confirms old deliveries, releases funds and flags late shipments.
Custom Themes
Add these includes, each guarded by addon_active('marketplace') && view()->exists(...):
marketplace::listing.buywith['listing' => $listing]: top of the listing sidebar.marketplace::badgewith['id' => data_get($listing, 'id')]: listing cards.marketplace::card.cartwith['id' => data_get($listing, 'id'), 'userId' => data_get($listing, 'user_id')]: "Add to cart" button of the listing cards. OptionalmpIconOnly(bool) andmpClass(button classes). The "Icon-only Add to cart on listing cards" setting shows the icon alone on every card (results, homepage, similar listings).marketplace::form.salewith['listing' => $listing ?? null, 'listingInput' => $listingInput ?? null]: after the price field of the create and edit forms.marketplace::header.cart: header menu.marketplace::account.statusandmarketplace::account.actionswith['listing' => $listing]: the seller's listings table.
Translations
Strings are in resources/lang/<locale>/messages.php, available in the 18 languages of LaraClassifier.
Removing
Deactivating keeps all data. Removing the add-on deletes its tables, settings and uploaded product files, including order and balance history: export what you must keep first.
Marketplace (Multivendor Shop) v1.0.0 · LaraClassifier Add-on · by BeDigit