Log in
Model

Freemethod

Magento\Usps\Model\Source\Freemethod

What it does

This class provides a dropdown list of USPS shipping methods for configuring free shipping options in Magento's admin panel.

It extends the standard USPS Method source model and adds a 'None' option at the beginning of the list, allowing administrators to disable free shipping or select which USPS method should be offered for free when free shipping conditions are met.

Public Methods

  • toOptionArray()