Back to projects

PRODUCT OVERVIEW / CASE STUDY

COMMERCE / DISTRIBUTION / ERP

Multi-Tenant Commerce, Distribution & ERP Platform

One connected flow.
Supply, sales and settlement.

A multi-tenant platform for automotive parts sales and distribution. Storefronts, operational panels, suppliers and financial workflows work together while each company retains its identity and business policies.

01Storefront & customer account02Operational administration03Inter-company supply network

AT A GLANCE

A shared core. Independent businesses.

Customers buy, operational teams manage orders and companies collaborate on supply. Order and payment information connects these journeys.

For customers

Find the right part, review sales conditions, purchase and follow orders and payments.

For managers & sales teams

Control catalogs, pricing, orders, customers, visits and sales performance through the panel.

For suppliers & distributors

Share products, define collaboration terms, request supply and follow quotations.

The order journey

When an order requires network supply, an inter-company request joins this workflow.

  1. 1Catalog & pricing
  2. 2Cart & order
  3. 3Approval & supply
  4. 4Payment & dispatch
  5. 5Reports & settlement
The challenge

Automotive parts distribution goes beyond placing orders. Many distributors restrict price visibility and offer different prices and terms to different customers. Products themselves can also be visible only to selected customer grades, cities or regions. Customer grading and geographic scope provide a basis for these differences, while visibility is a separate decision from calculating the price. Each company has its own catalog, pricing, customers and collaboration terms, while a customer order may depend on another company's supply, sales approval, payment and dispatch. The challenge was to connect these journeys while preserving company identity, settings and sales policies.

B2B CATALOG ACCESS & SALES TERMS

A catalog and sales terms tailored to each customer.

Distributors decide which products each customer can see, whether prices are visible and which prices and terms apply. Customer grade, city and region inform these rules, managed through each organization's administration panel.

  1. 1

    Price visibility

    Browsing the catalog does not imply public access to prices. Whether prices are shown follows the company's rules.

  2. 2

    Product visibility by grade

    Customer grades govern more than the purchase price. A product can appear for some grades and be entirely absent from the catalog for others.

  3. 3

    City & regional scope

    Product visibility can be limited by the customer's city or region. Customers in one area may see a product while customers in another do not.

  4. 4

    Grade-based pricing

    Cash or check-based prices and sales terms apply according to customer grade. The same product can have different prices for customers in different grades.

Example: a part is visible to an eligible grade in a served region, while a customer in another grade or region may not see it at all. Even among customers who can see it, price visibility and cash or check-based prices can differ. Each distributor defines its own access and sales policies.

COMPANY ACCOUNTING, CONNECTED TO THE CUSTOMER APP

From accounting software to current information in customers' hands.

A dedicated connector application is installed on the company's computer to connect accounting software such as Sepidar, Holoo, Argham System and other systems used by companies. It transfers accounting information to the platform, keeping prices, stock and customer statements updated in real time.

  1. 1

    Company accounting

    Product prices, stock and customer financial information are recorded and updated in the company's accounting software.

  2. 2

    Locally installed connector

    Dedicated software adapted to the company's accounting system retrieves information and transfers it to the platform.

  3. 3

    Real-time updates

    Price, stock and customer statement changes update the organization's online system.

  4. 4

    Customer application

    Customers see current prices, stock and their own statements in the app, according to their access and pricing grade.

Information flow: company accounting → dedicated connector → the organization's platform → customer app. The information exchanged depends on each accounting connector's capabilities.

Project journey & live example

From Argan Pakhsh to a multi-tenant platform.

1396 SH / INITIAL LAUNCH

Launching Argan Pakhsh

In 1396 of the Solar Hijri calendar (2017–2018), we launched the first version as Argan Pakhsh for an automotive parts distributor. The application connected the company with many auto parts stores across Iran, providing a B2B purchasing and order-entry journey.

View Argan Pakhsh on Cafe Bazaar
TODAY / THE NEXT GENERATION

Rebuilt around operational experience

Experience with the original product and its operational challenges shaped the rewrite. The new generation was developed with higher performance and quality and redesigned to address the issues encountered in use. Its multi-tenant architecture lets distribution companies and suppliers use a shared core with their own identity, settings and business policies.

ONE OF TODAY'S LIVE EXAMPLES

The purchasing view for an auto parts store

This example shows the auto parts store's purchasing journey: browsing products, selecting items and buying. It may look like a straightforward storefront, while the entire system workflow is controlled through the administration panel, from products and pricing to orders, supply, payments, dispatch and reporting.

The public view serves buyers; management capabilities are handled through the organization's panel and permissions.
omdepart.irVisit the live example

SYSTEM MAP

Read the platform in one picture.

Select a branch to see its role and connected modules. Full details are available in the capability directory.

Multi-tenant platformEach company's identity & policies

SELECTED BRANCH

Buying experience

PRODUCT CAPABILITIES

Details on demand. Room to read.

Capabilities are organized into 12 domains. Open a module or search for a specific feature.

12 product domains
Storefront & customer experienceFrom finding the right part to purchasing and tracking an order, on mobile and desktop.6 capabilities

B2B & B2C sales

Wholesale and retail journeys follow each organization's settings, with customer accounts and the applicable sales conditions.

Parts-specific search

Search and filtering by category, brand, vehicle, city and sales conditions, with results reflecting the customer's selections.

Product pages & variants

Images, specifications, descriptions, variant prices and availability, with minimum, maximum and order-multiple quantity rules.

Cart & delivery

Add and edit items, select an address, calculate delivery charges, choose a payment method and place the order.

Account & order tracking

Profiles and verification, orders and invoices, outstanding payments and payment history, wallets, favorites and customer notifications.

Mobile interface & PWA

Dedicated mobile views, everyday navigation and PWA settings for each organization's name, icon and theme color.

Catalog & pricingOne product, multiple variants and pricing policies tailored to customers and the sales network.9 capabilities

Product access by grade & region

Control product visibility by customer grade, city and region. Some grades or areas can see a product while it is absent from other customers' catalogs. These rules are separate from price visibility and price calculation.

Price visibility controls

Show or hide prices according to company policy; catalog access does not imply public price access. Price visibility is separate from customer-specific price calculation.

Customer grades & applicable pricing

Assign customer grades in the panel and apply the corresponding prices and sales terms. The same product can have different prices for different grades, with independent pricing policies for each organization.

Product structure

Product and accounting codes, category hierarchies, brands, vehicles, attributes and values, images and publishing status.

Variants, stock & purchase limits

Units, weights, stock, default variants, minimum and maximum quantities and ordering multiples for each variant.

Cash & credit prices

Cash and check-based prices, installment conditions, price-display rules and customer tiers.

Sales terms & discount codes

Enable cash, check-based or negotiated sales, amount limits, prepayments and installments; define percentage discount codes with expiry and active status.

Network pricing policies

Margins, cash and credit discounts and supplier–distributor connection policies, keeping network purchase prices separate from customer prices.

Bulk imports

Excel product imports and price and stock updates, import templates and processing logs; bulk ZIP image imports with progress feedback.

Orders & distribution operationsManage the order journey from sales approval through preparation, dispatch and delivery.6 capabilities

Customer & staff order entry

Order entry through the store, administration panel or sales representative journey, with customer, item, payment and note selection.

Order status workflow

Queues for approval, payment, processing, warehouse referral, dispatch readiness, shipping and delivery, plus cancellation and return states.

Item review & editing

Review quantities, discounts, invoice totals and sales conditions, with editing governed by order stage and user access.

Invoices & dispatch details

Invoice views and printing, payment details and driver and delivery information connecting sales with dispatch.

Delivery methods & charges

Calculate delivery using destination, weight and method, with rate settings, local-city rules and a pickup option in the panel.

Payment & installment follow-up

Prepayments, installment schedules, open bills and payment due dates, with status visible in customer and administration views.

Inter-company supply networkSupplier and distributor collaboration governed by each connection's own rules.6 capabilities

Organization & brand connections

Supplier–distributor connections by brand, connection status and conditions for sharing products and sales.

Supply requests

Create requests, select items, send them for supplier approval or rejection and track sent and received requests.

Allowed purchase methods

Cash or credit permissions per connection, validation of compatible methods across selected brands and server-side enforcement.

Forwarding & price review

Forward supply to another company, match products against destination rules and refresh request pricing under the connection's terms.

Quotations & adjustments

Generate supplier quotations, print requests and follow customer-invoice adjustments while separating network purchasing from customer sales.

Network oversight

A network dashboard for reviewing order flows and company connections alongside each company's own panel and access.

Payments, checks & settlementConnect orders to transactions, payments and participant shares with traceable records.5 capabilities

Gateways & manual payments

Zarinpal, Saman SEP and Sepehr integrations and a card-to-card payment journey, with results, reference codes and order payment review.

Wallet & credit history

Wallet funding and spending, ledger entries and post-transaction balances, with history available to users.

Check submission & review

Submit check details and images against orders, review them and update status with notes, alongside installments and upcoming payments.

Transactions & payment links

Reports of transaction amounts, methods, status and reference codes, plus payments linked to orders for balance and settlement review.

Sales shares & settlement

Calculate and review seller and supplier shares, approve shares and follow settlement separately from sales representative commissions.

Customers & behavior analysisUnderstand customers, sales conditions and interactions to inform decisions.5 capabilities

Customer management & verification

Create and edit customers, review verification, assign tiers, accounting references and sales representatives.

Sign-in & account recovery

One-time-password sign-in, OTP records in the panel and customer profile completion and recovery journeys.

Sessions & interactions

Capture sessions and interaction events and review customer journeys through management behavior reports.

Purchase analysis & segmentation

Analyze purchase history and value, segment customers and refresh analyses through scheduled jobs.

Targeted communication

Select customers for communications and connect customer information with notification and sales workflows.

Sales representatives & performanceFrom visits and sales targets to commissions, rewards and period-end settlements.5 capabilities

Visit missions & reports

Create missions with priority and due dates, assign representatives, submit reports and audio attachments and review outcomes.

Individual, group & brand targets

Define periods and sales targets, select team members and brands, manage groups and review achievement percentages.

Tiered commissions & rewards

Commission tiers by target achievement and reward rules, with performance calculated from sales in eligible states.

Statements & adjustments

Generate period-end statements, recalculate, approve, record adjustments and payments and retain settlement events.

Representative self-service

Representatives access their customers, missions, performance, earnings and settlements through their account.

Content & company identityA dedicated site for each organization with managed content and its own identity.5 capabilities

Domains & identity

Primary and backup domains, logos, titles, slogans, colors and display settings per organization on a shared platform.

Pages, articles & brand content

Create and edit pages, blog categories, articles and brand-related content and manage their media.

Banners & storefront layout

Manage single and multi-part banners, homepage sections and product-display settings per site.

Search presentation & SEO

Metadata, structured data, readable URLs, sitemaps and robots for store content.

Subscriptions & internal knowledge

Define subscription plans, durations and discounts, review subscription history and manage internal system knowledge.

Accounting & service integrationsConnect online sales with the business's existing software.7 capabilities

Dedicated accounting connector application

Dedicated software installed on the company's computer connects accounting systems such as Sepidar, Holoo, Mahak and Argham System, exchanging data and submitting quotations according to each connector's capabilities.

Customer statements in the app

Customer statements are transferred through the accounting connector and updated online in real time. Customers view their own financial information in the app according to connector capabilities and their access.

Price & stock synchronization

Retrieve and update prices and stock through scheduled jobs and a real-time update path with organization-specific permissions.

Customers & quotations

Match customer accounting references and exchange quotations through a queue with communication and processing status.

WooCommerce & PrestaShop

Store connectors, WooCommerce sync previews and execution, processing history and a client for a custom PrestaShop API.

Store API & documentation

Product, detail, brand, vehicle, category, customer and price-type APIs with OpenAPI documentation and access settings.

Connection testing & diagnostics

Connection tests, API previews, network diagnostics and exchange logs support investigation of integration failures.

Notifications & user communicationCommunications tied to orders, accounts and business events.4 capabilities

In-app & real-time notifications

Order and customer status notifications, account notification views and real-time delivery with SignalR.

Web Push & SMS

Push subscription management and delivery queues, alongside SMS services and records for supported workflows.

Sending & drafts

Compose notifications, select recipients, manage drafts and preview content, with delivery and seen status.

Communication dashboard

Notification reports and charts for recipient counts, sending and seen status and error follow-up.

Automation, reporting & maintenanceSchedule recurring work and retain visibility into execution.5 capabilities

Management dashboards

Sales, payments, order status, buyer statistics and operational reports in administrator and seller panels.

Shared reporting tools

Searchable and filterable reports, sorting, pagination and report-specific export and printing paths.

Scheduling & job queues

Schedules, priorities, status and manual execution for pricing, stock, customer analysis, synchronization and log maintenance jobs.

Backups & verification

Database and media backup jobs, verification and retention policies on S3-compatible storage.

Catalog caching & performance

Server and browser fragment caching, versioning and conditional requests reduce repeated work; prices and stock remain separate from interface-fragment caches.

Architecture, access & extensibilityA shared core with organization context and user roles across workflows.4 capabilities

Multi-tenant architecture

Resolve organizations from domains, carry tenant context through requests and apply settings and data scope in management and sales journeys.

Roles & permissions

Different journeys and access for administrators, sellers, customers and representatives, with backend checks on network connections and purchases.

API access & data protection

API keys and tokens, hashed access keys and Data Protection for sensitive data and protected settings.

Modules & shared tools

Shared form, reporting and service foundations reduce repetition while keeping domain logic manageable, using ASP.NET Core MVC and SQL Server.

FINANCIAL DEVELOPMENT SCOPE

Accounting connects goods and money.

The accounting requirements document defines a path toward unified financial records: counterparties and ledgers, stock movements, checks, receivables and customer–accountant communication.

Capabilities found in the code

Orders and invoices, payments and installments, check submission and review, wallet history, sales shares and accounting connectors provide the existing foundation.

Scope defined in the document

The items below are requirements for the accounting module. Completing them requires separate implementation and verification; the document does not imply that every capability is ready.

Explore the accounting module scope11 Defined requirement

Counterparties & unified ledgers

Unique counterparties for customers, distributors and suppliers, with invoices, receipts, payments, checks, returns and adjustments in debit/credit ledgers and running balances.

Linked sales & purchase invoices

Final sales link to outgoing stock and receipt confirmation to incoming stock on the buyer's side, with a shared identifier for tracking, adjustments, cancellation and returns.

Stock & stocktaking

Opening stock, receipts, issues, returns and adjustments; physical counts, system-versus-count differences and adjustment documents after management approval.

Allocated receipts & payments

Record cash, card, gateway, transfer, deposit and check payments with bank or cash accounts, attachments and notes; allocate payments across invoices and support payments on account.

Complete check lifecycle

Check identifiers, bank, account holder and images; held, deposited, endorsed, cleared, bounced, returned and canceled states with status-change history.

Due dates & reminders

Configurable reminders before and on due dates for managers, accountants and collectors, through in-app and push notifications, with an SMS extension envisaged.

Customer statements

Invoices, payments, checks, returns, due dates and current balances, with date and document filters, payment-allocation details and PDF export.

Financial dashboard & receivables

Customer and supplier balances, debtors and creditors, account activity, purchases and sales, with receivables grouped into today, 1–7 days, 8–30 days and overdue.

Document controls & access

Manager, accountant, seller, warehouse and customer roles; financial events, controlled correction documents and unique identifiers to prevent duplicate network transaction registration.

Accounting conversations & attachments

Customer–accountant conversations with check images, receipts, invoices and PDFs; messages linked to financial operations, seen status, history and new-message notifications.

Persian voice invoice entry

Extract product, vehicle, brand and quantity from speech, match the catalog and show price and stock. Missing details or multiple matches require user input; entry happens only after confirmation.

A voice invoice entry example

A scenario specified in the document; final entry requires user confirmation.

“Five Elig front brake pads for a Peugeot 206”
ProductFront brake pad
VehiclePeugeot 206
BrandElig
Quantity5 units
  1. Recognize speech
  2. Match the catalog
  3. Show price & stock
  4. User confirmation

ENGINEERING & DELIVERY

A coordinated architecture behind the flow.

My responsibility

System Designer, Lead Full Stack Developer & Project Manager

Worked across requirements analysis, architecture, backend and database development, administration panels and storefront interfaces. Pricing and order logic, inter-company workflows, accounting connectors and background jobs were central areas of my work. As lead developer and project manager, I focused on coordinating these components, translating business needs into practical workflows and building shared tools for development and maintenance.

Architecture & engineering decisions

Organization context in each request

Domain-based tenant resolution and organization context for settings, data and access enable dedicated sites and panels on a shared core.

Separate financial & network policies

Supplier purchasing rules are kept separate from customer sales terms. Changing a network purchase from cash to credit should not inadvertently change a customer's invoice price or payment method.

Connections to existing systems

Connectors and APIs exchange prices, stock and quotations between stores and accounting software, with tests, logs and processing queues supporting error investigation.

Background processing

Synchronization, analysis, image imports and backups run through jobs and queues so execution remains observable.

PRODUCT VALUE

Individual features become a manageable workflow.

The value lies in how the parts connect: pricing informs purchases, orders feed supply, and payments and sales performance remain traceable through reporting and settlement.