Log in
Model

GetFreePackages

Magento\InventoryInStorePickupShipping\Model\Carrier\Command\GetFreePackages

What it does

This class calculates the number of packages (items) that qualify for free shipping in an in-store pickup order.

Developers use this when implementing shipping rate calculations for the in-store pickup shipping method, particularly to determine which items in a quote should not incur shipping charges based on free shipping rules.

Public Methods

  • execute()