Skip to content

Commit ea006c9

Browse files
committed
Fix cart update
Was not working after latest update to plugin
1 parent 8ca4a86 commit ea006c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/gql/GQL_MUTATIONS.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const UPDATE_CART = gql`
8888
key
8989
product {
9090
id
91-
productId
91+
databaseId
9292
name
9393
description
9494
type
@@ -111,7 +111,7 @@ export const UPDATE_CART = gql`
111111
}
112112
variation {
113113
id
114-
variationId
114+
databaseId
115115
name
116116
description
117117
type
@@ -142,22 +142,22 @@ export const UPDATE_CART = gql`
142142
key
143143
product {
144144
id
145-
productId
145+
databaseId
146146
}
147147
variation {
148148
id
149-
variationId
149+
databaseId
150150
}
151151
}
152152
updated {
153153
key
154154
product {
155155
id
156-
productId
156+
databaseId
157157
}
158158
variation {
159159
id
160-
variationId
160+
databaseId
161161
}
162162
}
163163
}

0 commit comments

Comments
 (0)