Marketplace Order Management feature walkthrough

Edit on GitHub

Marketplace Order Management enables splitting Orders into Merchant Orders and allowing Product Offers to be bought directly from a Storefront. The Orders are designed to be used by the Marketplace operator, while the Merchant Orders are always connected to a Merchant. See Marketplace domain model to learn more about the core Marketplace objects.

By using MerchantSalesOrderFacade::createMerchantOrderCollection(), you can decide when to create Merchant Orders out of an Order in your project. By default, it is created by CreateMerchantOrdersCommandPlugin.

User documentation

To learn more about the feature and to find out how end users use it, see Marketplace Order Management feature overview for business users.

Module dependency graph

The following diagram illustrates the dependencies between the modules for the Marketplace Order Management feature.

Module Dependency Graph

MODULE DESCRIPTION
MerchantOms Provides the order management system functionality for the merchant orders.
MerchantOmsDataImport Data importer for the MerchantOms.
MerchantSalesOrder Provides functionality for managing merchant orders.
MerchantSalesOrderDataExport Provides possibility to export data related to the merchant orders.
MerchantSalesOrderMerchantUserGui Backoffice UI for managing merchant sales orders for the Marketplace operator.
MerchantSalesOrderWidget Provides Merchant Order information for Yves.
Oms Order management system for implementing complex process flows using the state machines.
OmsProductOfferReservation Provides functionality for save/update/remove reservations for the product offers.
ProductOfferReservationGui Backoffice UI component for managing reservations for product offers.
ProductOfferSales Connects product offer and sales entities.
Sales Provides the order management core functionality.
MerchantSalesOrderExtension Extension point for the MerchantSalesOrder.
MerchantSalesOrderThresholdGui Provides Zed UI interface for Merchant Order threshold management.
SalesMerchantPortalGui Provides UI for managing Merchant Sales in the Merchant Portal.

Domain model

The following diagram illustrates the domain model of the Marketplace Order Management feature:

Domain Model

Merchant orders in the Merchant Portal

“Warning”

Do not build Merchant functionality around Orders, but rather around Merchant Orders. Make sure that Merchants do not modify the order directly, but instead use MerchantOms for this purpose.

In the Merchant Portal, a Merchant can view and manage their MerchantOrders.

The information in the Merchant Portal is limited and includes:

  • customer information
  • shipment address
  • merchant order overview
  • totals

Merchant Order uses its own Totals, based on Order Totals, restricted by the Merchant Order Item:

  • refundTotal
  • grandTotal
  • taxTotal
  • expenseTotal
  • subtotal
  • discountTotal
  • canceledTotal

A merchant order total is the sum of the totals of items of an order relating to the merchant order.

Learn more

INTEGRATION GUIDES GLUE API GUIDES DATA IMPORT REFERENCES
Marketplace Order Management feature integration Retrieving Marketplace orders File details: merchant_oms_process.csv MerchantOms
Marketplace Order Management + Order Threshold feature integration File details: merchant-order-status.csv How-to: Creation a new MerchantOms flow
Marketplace Order Management + Customer Account Management feature integration