⚠️ This is pre-release documentation for v3. For stable docs, visit v2.
Skip to content

@tmlmt/cooklang-parser / ProductSelection

Interface: ProductSelection ​

Represents a product selection in a ShoppingCart

Properties ​

product ​

product: ProductOption

The selected product


quantity ​

quantity: number

The quantity of the selected product


totalPrice ​

totalPrice: number

The total price for this selected product