Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 643 Bytes

checkout_cart_shipping.md

File metadata and controls

24 lines (18 loc) · 643 Bytes

Checkout Cart Shipping

Allows you to retrieve the list of available shipping methods for a shopping cart (quote).

magento.checkoutCartShipping.list({
  quoteId:    val,
  storeView:  val  /* optional */
}, callback);

Allows you to set a shipping method for a shopping cart (quote).

magento.checkoutCartShipping.method({
  quoteId:        val,
  shippingMethod: val,
  storeView:      val  /* optional */
}, callback);