Log in
Model

HandlingAction

Magento\Shipping\Model\Source\HandlingAction

What it does

This class provides a dropdown option source for configuring how shipping handling fees should be applied in Magento 2.

Developers use this when building admin configuration forms or settings where merchants need to choose between applying handling fees per order or per package.

It's commonly used in shipping method configuration sections in the admin panel.

Public Methods

  • toOptionArray()