forked from crowetic/commerce
45 lines
686 B
TypeScript
45 lines
686 B
TypeScript
export const cartFragment = /* GraphQL */ `
|
|
fragment Cart on Order {
|
|
id
|
|
code
|
|
createdAt
|
|
totalQuantity
|
|
subTotal
|
|
subTotalWithTax
|
|
total
|
|
totalWithTax
|
|
currencyCode
|
|
customer {
|
|
id
|
|
}
|
|
lines {
|
|
id
|
|
quantity
|
|
linePriceWithTax
|
|
discountedLinePriceWithTax
|
|
unitPriceWithTax
|
|
discountedUnitPriceWithTax
|
|
featuredAsset {
|
|
id
|
|
preview
|
|
}
|
|
discounts {
|
|
description
|
|
amount
|
|
}
|
|
productVariant {
|
|
id
|
|
name
|
|
sku
|
|
price
|
|
priceWithTax
|
|
stockLevel
|
|
product {
|
|
slug
|
|
}
|
|
productId
|
|
}
|
|
}
|
|
}
|
|
`
|