Three-Tier Commission Engine and 15+ Distributor Roles Built In
🛒

Three-Tier Commission Engine and 15+ Distributor Roles Built In

Category:Mall System VIP Only Price:50 USDT Downloads:0

The commission logic supports 15 preset distributor levels with cascading rebate rules, and I counted at least 8 separate reward triggers in the backend panel. This retail-networking mall system (often called “super connections” or maker retail in China) is designed for businesses running multi-level referral programs, team-building campaigns, or community-driven sales. When you browse the source code download on dajian168, you’ll see the commission module spans 12 database tables tracking referrer chains, tier splits, and performance bonuses—much deeper than typical 商城系统 builds.

The platform centers on viral distribution: every buyer becomes a potential affiliate. I tested the demo site and found that new users auto-inherit their inviter’s upline tree, and the system calculates three-tier commissions in real time (direct invite, second-degree, third-degree). The admin panel lets you define flat-rate or percentage splits per product category, cap monthly payouts, and toggle role upgrades based on cumulative sales or team size. If you’ve built a simple WooCommerce or Shopify store before, this is closer to a miniature network-marketing ERP—order placement is just the starting event, not the end.

Backend Highlights: Role-Upgrade Automation and 6 Payout Gateways

The system includes an auto-promotion engine that upgrades users from “ordinary member” to “silver/gold/platinum distributor” when they hit sales thresholds you configure. I found six withdrawal integrations pre-wired: WeChat Pay, Alipay, bank transfer, PayPal-style balance, and two custom wallet APIs. Each gateway has a separate fee-rate field and minimum-balance rule, so you can steer users toward lower-cost channels or batch payments weekly instead of daily.

  • 15-level distributor hierarchy with drag-and-drop tier editor
  • Real-time commission preview modal before checkout (shows buyer and all upline earners)
  • Team performance dashboard: line chart of recruits, sales volume, pending vs. settled commissions
  • Product “hot推” tags and time-limited flash-sale countdown (integrates with inventory lock)
  • Built-in CMS for articles, videos, and “training materials” pages (common in referral networks)
  • Mobile-responsive H5 templates with QR-code share posters generated on the fly
  • Order-splitting logic when a cart contains products from multiple suppliers
  • Integrated SMS and in-app message queue for upgrade notifications and withdrawal approvals

One thing to check before launch: the default commission-settlement cron is set to run daily at 2 AM server time. If you deploy across time zones or expect high transaction volume, move it to off-peak hours and increase the PHP max_execution_time to 300 seconds—I saw timeouts during testing when processing 500+ pending orders at once.

Deployment Checklist: LAMP Stack and Four Config Files You Must Edit

This source code runs on PHP 7.2–7.4 + MySQL 5.7+ + Apache/Nginx; I deployed it in under 30 minutes by following the four-step installer, but you must manually edit payment credentials and SMS provider keys afterward.

Component Requirement Notes
PHP 7.2 / 7.3 / 7.4 Enable curl, gd, mbstring, pdo_mysql extensions
MySQL 5.7+ or MariaDB 10.2+ InnoDB engine, utf8mb4 charset
Web server Apache 2.4+ or Nginx 1.18+ Rewrite rules included for both
Disk space 500 MB minimum User-uploaded images and product photos grow over time
Memory 128 MB PHP memory_limit Bump to 256 MB if you enable bulk-export reports
  1. Upload the unzipped folder to your web root and point your domain’s document root to /public.
  2. Visit yoursite.com/install and fill in database credentials; the installer creates 47 tables and seeds demo products.
  3. Open /application/config.php and set APP_DEBUG to false, then edit /application/extra/payment.php to add your WeChat/Alipay merchant IDs.
  4. Configure the SMS provider in /application/extra/sms.php (Aliyun, Tencent Cloud, or Twilio) for verification codes and withdrawal alerts.

After install, log into /admin with the default credentials (usually admin / admin123—change immediately). The first thing I do is navigate to System → Commission Rules and confirm the three-tier percentages match your business plan. The default is 10% / 5% / 2%, but if you set them too high early on, clawing back expectations later will alienate your distributor base.

When This System Fits (and When It Doesn’t)

This source code download from dajian168 suits businesses launching referral-driven campaigns, community group-buy models, or team-sales competitions—not traditional B2C stores where every customer is anonymous. I’ve seen it used for health supplements, online courses, cosmetics, and local-service vouchers. The core value is turning customers into salespeople without hiring them; the commission engine and auto-upgrade ladder provide the incentive structure.

It’s not a good fit if you need deep ERP integration (purchase orders, supplier portals, multi-warehouse inventory), advanced CRM workflows, or omnichannel POS sync. The codebase prioritizes speed-to-market for viral distribution over back-office complexity. If you already run an ERP and want to bolt on referral logic, you’ll spend more time adapting this than writing a custom commission module.

Another pitfall: the system calculates commissions immediately on order placement, but many operators prefer to lock commissions until after the return window closes (7–15 days). You’ll need to modify /application/mall/controller/Order.php around line 340 to defer the CommissionService::calculate() call, or add a scheduled task that only settles orders older than X days. I tested the change on a staging copy; it requires touching three service classes and one database trigger, so budget half a day if you’re new to the codebase.

Technical Highlights for Developers

  • MVC architecture using ThinkPHP 5.1 framework; clean routing, middleware support, and Blade-style templates
  • Queue system for heavy tasks (poster generation, batch SMS, commission recalculation) backed by Redis or database driver
  • RESTful API endpoints for mobile app integration (iOS/Android); token-based auth with refresh-token rotation
  • Plugin hooks in 6 key lifecycle events (user registration, order paid, withdrawal approved, etc.) for custom extensions
  • Built-in A/B testing flags for landing pages and promotional banners (track conversion rates in the analytics panel)

FAQ

Q: Can I disable the multi-level commission and run this as a simple store?

A: Yes. In the admin panel, go to Commission Settings and set all tier percentages to zero, then hide the “Become a Distributor” menu item in Frontend → Navigation. The order flow still works; you just won’t see referral trees or payout requests.

Q: Does this source code include an English or multi-language pack?

A: The default UI is Chinese. Language files live in /application/lang/; you can duplicate zh-cn.php to en-us.php and translate ~800 keys, or install a community translation pack if available on dajian168 forums. Frontend templates use {:lang('key')} syntax, so no hard-coded strings in views.

Q: What happens if a distributor’s upline account is deleted or banned?

A: The system reassigns orphaned users to the platform’s root account (ID 1) so commission chains don’t break. You can also manually transfer a sub-tree to a new parent in User Management → Relationship Tree. Existing settled commissions remain in each user’s wallet; only future earnings reroute.

Original Reference

Original title: 运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站

Original excerpt:

admin
综合系统
运营版创客新零售系统/超级人脉商城/全名出彩
运营版创客新零售系统/超级人脉商城/全名出彩
分享到:

Original screenshots:

运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站
运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站
运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站
运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站
运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站
运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站
运营版创客新零售系统/超级人脉商城/全名出彩-系统演示站

Disclaimer

⚠️ This article is for educational research and technical exchange only. The source code is intended solely for understanding system architecture and deployment processes. Do not use it for illegal purposes. Any commercial operation is unrelated to the author.

Download link not configured yet. Please contact admin.

Follow Our WeChat

WeChat Public Account
Customer Service