Product
Magento\SalesRule\Model\Rule\Action\Product
What it does
This class defines the product price adjustment actions available in cart price rules (sales rules).
Developers use this class when implementing or extending discount rule functionality that modifies product prices, such as setting a fixed price, applying percentage discounts, or adding/subtracting fixed amounts.
It provides the UI options and HTML rendering for the rule action configuration in the admin panel.
Public Methods
- loadAttributeOptions()
- loadOperatorOptions()
- asHtml()