Home > @shopware-pwa/composables > IUseCartItem

# IUseCartItem interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

interface for useCartItem() composable

Signature:

export interface IUseCartItem 

# Properties

Property Type Description
changeItemQuantity (quantity: number) => Promise<void> (BETA)
getProductQtySteps ComputedRef<number[] | null> (BETA)
isProduct ComputedRef<boolean> (BETA)
isPromotion ComputedRef<boolean> (BETA)
itemImageThumbnailUrl ComputedRef<string> (BETA)
itemOptions ComputedRef<PropertyGroupOption[]> (BETA)
itemQuantity ComputedRef<number | undefined> (BETA)
itemRegularPrice ComputedRef<number | undefined> (BETA)
itemSpecialPrice ComputedRef<number | undefined> (BETA)
itemStock ComputedRef<number | undefined> (BETA)
itemType ComputedRef<LineItemType | undefined> (BETA)
lineItem ComputedRef<LineItem | undefined | null> (BETA)
removeItem () => Promise<void> (BETA)

# Methods

Method Description
getProductItemSeoUrlData() (BETA)