Home > @vue-storefront/core > UseCartFactoryParams > addItem
UseCartFactoryParams.addItem property
Signature:
addItem: (context: Context, params: {
currentCart: CART;
product: PRODUCT;
quantity: any;
customQuery?: CustomQuery;
}) => Promise<CART>;