Log in
Model

FreeShipping

Magento\OfflineShipping\Model\Quote\Address\FreeShipping

What it does

This class determines if free shipping applies to a quote based on sales rules and cart items.

Developers use this when implementing custom shipping logic or when they need to evaluate free shipping eligibility for quotes, considering rules like 'free shipping with minimum order' or item-specific free shipping promotions.

Public Methods

  • isFreeShipping()