Log in
Model

Composite

Magento\Catalog\Model\Product\PriceModifier\Composite

What it does

This class implements the Composite design pattern to orchestrate multiple price modification operations on products.

Developers use this to allow different modules to chain their price modifications together, enabling extensible pricing logic where each module can contribute its own price adjustments (discounts, taxes, special rules) in sequence.

Public Methods

  • modifyPrice()