Model
FreeShippingOptions
Magento\OfflineShipping\Model\Source\SalesRule\FreeShippingOptions
What it does
This class provides the dropdown options for configuring free shipping behavior in shopping cart price rules.
Developers use this to populate the free shipping field in the admin panel, allowing merchants to choose between no free shipping, free shipping for matching items only, or free shipping for the entire shipment when cart rule conditions are met.
Public Methods
- toOptionArray()