Model
OriginalPrice
Magento\Bundle\Model\Product\OriginalPrice
What it does
This class calculates the original (base) price of Magento 2 bundle products and their individual selections before any discounts or special pricing.
Developers use this when they need to determine the pre-discount price of a bundle product configuration, useful for displaying savings, calculating margins, or pricing comparisons in custom bundle product displays or checkout processes.
Public Methods
- getTotalBundleItemsOriginalPrice()
- getSelectionOriginalPrice()