Bundle commands, pipelines, and blocks
Version:
The following table describes bundle commands, pipelines, and blocks.
| Command/Pipeline | Description |
|---|---|
CalculateBundleAutomaticPriceBlock | Calculates the bundle price or calculates the bundle price for a customer selection using Automatic pricing. |
CalculateBundleSelectionPriceBlock | Calculates the bundle price for a customer selection using Manual pricing. |
CreateBundleCommandCreateBundlePipeline | Creates a new bundle container in the Commerce Engine. Command parameters include:
|
CreateBundleBlock | Maps arguments from the CreateBundleCommand to the SellableItem entity that represents the bundle.The bundle item created returns a bundleId along with other bundle parameters as defined in the CreateBundleCommand. |
CreateBundleRelationshipsBlock | Establishes relationships between a bundle and its constituent sellable items. |
FinalizeBundleBlock | Defines the finalized bundle. |
GetBundleSelectionPricingCommand | Command parameters include:
|
GetBundleSelectionPricingPipeline | Retrieves the bundle price for the customer’s selection. |
PrepBundleBlock | Validates the uniqueness of the bundle name (ProductId) in the system. If a bundle with the same ProductId is found, a validation error is returned. |
PrepGetBundleSelectionPricingBlock | Populates the ProductArgument for all selected bundle items. |
ValidateDynamicBundleSelectionBlock | Validates the bundle selection and quantity range. |
If you have suggestions for improving this article, let us know!