You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseCart > setCart

UseCart.setCart() method

Signature:

setCart(cart: CART): void;

Parameters

Parameter Type Description
cart CART

Returns:

void