nativemind / module-marketplace
Transform your Magento 2 store into a powerful marketplace platform similar to Avito, Facebook Marketplace, Shopee, Lazada, AliExpress, or Ozone
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.4.0|^8.0|^8.1|^8.2
- magento/framework: ^103.0.0
- magento/module-api: ^103.0.0
- magento/module-backend: ^102.0.0
- magento/module-catalog: ^104.0.0
- magento/module-cms: ^103.0.0
- magento/module-config: ^101.2.0
- magento/module-customer: ^103.0.0
- magento/module-eav: ^102.1.0
- magento/module-indexer: ^101.1.0
- magento/module-sales: ^104.0.0
- magento/module-store: ^101.1.0
- magento/module-url-rewrite: ^101.0.0
- magento/module-webapi: ^103.0.0
Suggests
- magento/module-elasticsearch: For advanced product search
- magento/module-inventory: For advanced inventory management
- nativemind/module-translation: For multi-language marketplace support
This package is not auto-updated.
Last update: 2025-09-23 11:36:35 UTC
README
Transform your Magento 2 store into a powerful marketplace platform similar to Avito, Facebook Marketplace, Shopee, Lazada, AliExpress, or Ozone. Enable multiple sellers to create their own stores with subdomains or subdirectories, manage products (new and used), and build a thriving marketplace ecosystem.
π Features
πͺ Multi-Seller Platform
- Seller Registration & Verification - Complete seller onboarding with document verification
- Individual Seller Stores - Each seller gets their own store with custom branding
- Subdomain/Subdirectory Support -
seller1.yourstore.com
or/seller/seller1/
- Seller Dashboard - Comprehensive management interface for sellers
- Seller Profiles - Public profiles with ratings, reviews, and statistics
ποΈ Product Management
- New & Used Products - Support for both new and second-hand items
- Advanced Product Attributes - Custom fields for marketplace-specific data
- Bulk Product Import/Export - CSV/Excel support for large catalogs
- Product Moderation - Admin approval workflow for new products
- Inventory Management - Real-time stock tracking per seller
β Rating & Review System
- Seller Ratings - Overall seller performance scoring
- Product Reviews - Detailed product feedback from buyers
- Review Moderation - Admin controls for review approval
- Rating Analytics - Comprehensive seller performance metrics
π¬ Communication Tools
- Internal Messaging - Direct buyer-seller communication
- Order Messaging - Contextual messaging tied to orders
- Notification System - Email and in-app notifications
- Dispute Resolution - Built-in conflict resolution tools
π° Commission & Payment
- Flexible Commission Rates - Configurable commission per category/seller
- Multi-Payment Methods - Support for various payment gateways
- Escrow System - Secure payment holding until order completion
- Payout Management - Automated seller payouts with reporting
ποΈ Admin Management
- Seller Management - Approve, suspend, or manage seller accounts
- Commission Settings - Configure commission rates and rules
- Dispute Resolution - Handle buyer-seller conflicts
- Analytics Dashboard - Comprehensive marketplace analytics
- Content Moderation - Review and approve products/reviews
π Multi-Store Support
- Subdomain Configuration - Easy subdomain setup for sellers
- Subdirectory Support - Alternative path-based seller stores
- Custom Themes - Seller-specific store themes
- SEO Optimization - Individual SEO settings per seller store
π± Mobile & API Support
- REST API - Complete API for mobile app integration
- GraphQL Support - Modern API for frontend applications
- Mobile-Optimized - Responsive design for all devices
- PWA Ready - Progressive Web App capabilities
π Requirements
- Magento 2.4.x (2.4.0 or higher)
- PHP 7.4+ (8.1+ recommended)
- MySQL 5.7+ or MariaDB 10.2+
- Elasticsearch 7.x (for advanced search)
- Redis (for caching, recommended)
Optional Dependencies
- NativeMind Translation Module - For multi-language marketplace support
- Elasticsearch - For advanced product search and filtering
- Varnish - For improved performance
π οΈ Installation
Via Composer (Recommended)
composer require nativemind/module-marketplace php bin/magento module:enable NativeMind_Marketplace php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
Manual Installation
# 1. Download and extract module mkdir -p app/code/NativeMind/Marketplace # Extract module files to app/code/NativeMind/Marketplace # 2. Enable module php bin/magento module:enable NativeMind_Marketplace # 3. Run setup php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
βοΈ Configuration
1. Basic Setup
Navigate to Stores > Configuration > NativeMind > Marketplace to configure:
- Enable Marketplace - Activate marketplace functionality
- Seller Registration - Configure seller signup process
- Commission Settings - Set default commission rates
- Subdomain Configuration - Configure seller subdomains
2. Seller Subdomain Setup
Option A: Subdomains (seller1.yourstore.com)
# Add to your web server configuration *.yourstore.com -> yourstore.com
Option B: Subdirectories (/seller/seller1/)
# Configure URL rewrites in Magento admin # Stores > Configuration > Web > URL Options
3. Payment Configuration
Configure payment methods for marketplace:
- Escrow Payments - Hold payments until order completion
- Commission Collection - Automatic commission deduction
- Seller Payouts - Automated seller payment processing
π― Usage Examples
Seller Registration
// Enable seller registration $sellerRegistration = $this->sellerRegistrationFactory->create(); $sellerRegistration->setData([ 'email' => 'seller@example.com', 'firstname' => 'John', 'lastname' => 'Doe', 'company' => 'John\'s Store', 'tax_id' => '123456789' ]); $sellerRegistration->save();
Product Management
// Add product to seller's catalog $product = $this->productFactory->create(); $product->setData([ 'name' => 'Used iPhone 12', 'sku' => 'used-iphone-12-001', 'price' => 599.99, 'seller_id' => 123, 'condition' => 'used', 'description' => 'Excellent condition iPhone 12...' ]); $product->save();
API Integration
// Get seller's products via API GET /rest/V1/marketplace/seller/123/products // Create new product via API POST /rest/V1/marketplace/seller/123/products { "product": { "name": "Product Name", "price": 99.99, "condition": "new" } }
π§ Advanced Configuration
Custom Seller Attributes
<!-- Add custom seller attributes --> <fieldset name="seller_information"> <field name="business_license" formElement="file"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="label" xsi:type="string">Business License</item> </item> </argument> </field> </fieldset>
Commission Rules
// Set category-specific commission rates $commissionRule = $this->commissionRuleFactory->create(); $commissionRule->setData([ 'category_id' => 15, 'commission_rate' => 8.5, 'seller_group' => 'premium' ]); $commissionRule->save();
π Analytics & Reporting
Seller Dashboard Metrics
- Sales Performance - Revenue, orders, conversion rates
- Product Performance - Best-selling items, inventory levels
- Customer Feedback - Reviews, ratings, response rates
- Financial Reports - Commissions, payouts, earnings
Admin Analytics
- Marketplace Overview - Total sellers, products, orders
- Revenue Analytics - Commission income, growth trends
- Seller Performance - Top performers, inactive sellers
- Product Analytics - Popular categories, search trends
π Security Features
- Seller Verification - Document verification system
- Product Moderation - Admin approval for new products
- Fraud Detection - Automated suspicious activity detection
- Data Protection - GDPR compliance for seller data
- Secure Payments - PCI-compliant payment processing
π Multi-Language Support
Integrate with NativeMind Translation Module for:
- Automatic Translation - Translate product descriptions
- Multi-Store Support - Different languages per seller store
- Localized Content - Region-specific marketplace features
π± Mobile Integration
Flutter Integration
// Using flutter_magento package final marketplace = FlutterMagento(); await marketplace.getSellerProducts(sellerId: '123'); await marketplace.createSellerAccount(sellerData);
React Native Integration
// Using react-native-magento package import { MagentoMarketplace } from 'react-native-magento'; const marketplace = new MagentoMarketplace(); await marketplace.getSellerStore(sellerId);
π§ͺ Testing
# Run unit tests vendor/bin/phpunit tests/unit/ # Run integration tests vendor/bin/phpunit tests/integration/ # Run API tests vendor/bin/phpunit tests/api/
π Performance Optimization
- Elasticsearch Integration - Fast product search
- Redis Caching - Improved page load times
- CDN Support - Global content delivery
- Database Optimization - Indexed queries for large catalogs
- Image Optimization - Automatic image compression
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
# Clone repository git clone https://github.com/nativemind/module-marketplace.git cd module-marketplace # Install dependencies composer install # Run tests vendor/bin/phpunit
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Support
- Documentation - Full Documentation
- Issues - GitHub Issues
- Community - Magento Community
- Email Support - support@nativemind.net
πΊοΈ Roadmap
Version 2.0 (Q2 2024)
- Advanced AI-powered product recommendations
- Blockchain integration for authenticity verification
- Advanced analytics with machine learning
- Mobile app SDK improvements
Version 2.1 (Q3 2024)
- Multi-currency support with automatic conversion
- Advanced shipping integration
- Social commerce features
- Voice search integration
π Contact
- Website - nativemind.net
- Email - contact@nativemind.net
- Twitter - @NativeMindDev
Transform your Magento store into a powerful marketplace today! π