Log in
Interface

ShipmentEstimationInterface

Magento\Quote\Api\ShipmentEstimationInterface

What it does

This interface defines a contract for estimating shipping costs and available shipping methods for a shopping cart based on a customer's address.

Developers use this when they need to calculate shipping options before checkout, such as displaying shipping costs on the cart page or implementing custom shipping estimation functionality.

It's particularly useful for AJAX-based shipping calculators and custom checkout implementations.

Public Methods

  • estimateByExtendedAddress()