This commit is contained in:
gpt-engineer-app[bot]
2026-01-28 13:11:06 +00:00
parent 5a55c23b0a
commit 2ab7e578ab
3 changed files with 73 additions and 5 deletions
+23 -1
View File
@@ -138,7 +138,29 @@ export const STOREFRONT_PRODUCTS_QUERY = `
// Cart mutations
export const CART_QUERY = `
query cart($id: ID!) {
cart(id: $id) { id totalQuantity }
cart(id: $id) {
id
totalQuantity
checkoutUrl
lines(first: 100) {
edges {
node {
id
quantity
merchandise {
... on ProductVariant {
id
title
price {
amount
currencyCode
}
}
}
}
}
}
}
}
`;