Model
ChildrenValidationLocator
Magento\SalesRule\Model\Quote\ChildrenValidationLocator
What it does
This class determines whether sales rule validation should be applied to child items of a quote item based on the product type.
Developers use this when implementing custom product types to control if discount rules should be validated on child items (like individual products in a bundle) or only on the parent item, preventing duplicate discount applications.
Public Methods
- isChildrenValidationRequired()