Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / readCartQuote

Function: readCartQuote()

readCartQuote(value): CartValidation

A cart quote (CartValidation) — the data of the theme's cart-validate route — or null when the value is not one. What the quote says is the server's: lines re-priced from the catalog, rewards, the subtotal, the free delivery progress, and, when asked, the delivery fee and the coupon's outcome.

Parameters

value

unknown

Returns

CartValidation