Marketplace Product Offer feature: Domain model and relationshipsEdit on GitHub
The Marketplace Product Offer entity is created when multiple merchants sell the same product on the Marketplace. The product offer is a variation of a concrete product with its own specific price (and volume price) and stock. It can be “owned” by any entity, however, in a B2C or B2B Marketplace, it is owned by a merchant.
The Marketplace product offer has its own validity dates and its own availability calculation based on its reservations.
The product offer re-uses and extends concrete product features. All product-related data is stored and processed as concrete products. All offer-related data is stored in a separate entity and linked to a concrete product.
The Marketplace Product Offer feature contains both merchant product offer and product offer concepts. Merchant product offer extends product offer by adding a pointer to a merchant.
Module dependency graph
The following diagram illustrates the dependencies between the modules for the Marketplace Product Offer feature.
The following table lists the main modules of the Marketplace Product Offer feature.
|Provides a collection of product offers by request. Extends
ProductOffer with the merchant information. Used by
MerchantSwitcher for enabling the merchant functionality.
|Module for importing Merchant offers from the CSV file.
|Provides Zed UI interface for merchant product offer management.
|Manages Elasticsearch documents for merchant product offer entities.
|Manages storage for merchant product offers.
|Provides an interfaces of plugins to extend
MerchantProductOfferStorage module from the other modules.
|Provides Glue API endpoints to manage merchant product offers.
|Provides base infrastructure and CRUD operations to handle abstract product and concrete products.
|Provides the main create-read-update product offer functionality.
|Provides extension interfaces for
ProductOfferGui is the Zed Administrative Interface component for managing product offers.
|Provides plugin interfaces for
ProductOfferGui module functionality extending.
|Manages storage for product offers.
|Provides interfaces for extension of
ProductOfferStorage module with plugins.
|Provides availability to add product offer resource relation.
|Defines validity period for an offer.
|Data importer for
ProductOfferValidityGui is the Zed Administrative Interface component for managing product offer validity.
|Provides merchant product offer information for the
|This module provides plugin interfaces to extend the
MerchantProductOfferWidget module from the other modules.
|Provides widgets for displaying Product Offers.
The following schema illustrates the domain model of the Marketplace Product Offer feature:
For submitting the form