saleor: shall the cart appear!

This commit is contained in:
Zaiste
2021-04-27 13:03:31 +02:00
parent 7a37bc8d4e
commit 34ab15bba4
7 changed files with 72 additions and 49 deletions

View File

@@ -2,15 +2,15 @@ import { checkoutDetailsFragment } from '../queries/get-checkout-query'
const checkoutLineItemUpdateMutation = /* GraphQL */ `
mutation checkoutLineItemUpdate($checkoutId: ID!, $lineItems: [CheckoutLineItemUpdateInput!]!) {
checkoutLineItemsUpdate(checkoutId: $checkoutId, lineItems: $lineItems) {
checkoutUserErrors {
checkoutLinesUpdate(checkoutId: $checkoutId, lineItems: $lineItems) {
errors {
code
field
message
}
# checkout {
# ${checkoutDetailsFragment}
# }
checkout {
${checkoutDetailsFragment}
}
}
}
`