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

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

UseCart.removeItem() method

Signature:

removeItem(params: {
        product: CART_ITEM;
        customQuery?: CustomQuery;
    }): Promise<void>;

Parameters

Parameter Type Description
params { product: CART_ITEM; customQuery?: CustomQuery; }

Returns:

Promise<void>