CartController::get_shipping_packages( bool $calculate_rates = true )

Get shipping packages from the cart with calculated shipping rates.


Description Description


Parameters Parameters

$calculate_rates

(Optional) Should rates for the packages also be returned.

Default value: true


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.