Model
Price
Magento\Bundle\Model\Product\Price
What it does
This class handles all price calculations for Bundle products in Magento 2.
It manages both fixed and dynamic bundle pricing, calculates minimum/maximum prices based on selected options, applies tier pricing, special pricing, and custom option prices.
Developers use this when working with bundle product prices, displaying price ranges, or customizing bundle price calculations.
Public Methods
- getIsPricesCalculatedByIndex()
- getPrice()
- getTotalBundleItemsPrice()
- getFinalPrice()
- getChildFinalPrice()
- getTotalPrices()
- getOptions()
- getSelectionPrice()
- getSelectionPreFinalPrice()
- getSelectionFinalTotalPrice()
- getTierPrice()
- calculateSpecialPrice()
- getLowestPrice()