Skip to content

Commit 8247e4c

Browse files
committed
Merge branch 'master' into Update-tested-with-versions
2 parents 8d862f5 + d529ef5 commit 8247e4c

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/utils/gql/GQL_QUERIES.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,23 +117,29 @@ export const FETCH_ALL_PRODUCTS_QUERY = gql`
117117
image {
118118
sourceUrl
119119
}
120-
productCategories {
121-
nodes {
122-
name
123-
slug
124-
}
125-
}
126120
... on SimpleProduct {
127121
databaseId
128122
price
129123
regularPrice
130124
salePrice
125+
productCategories {
126+
nodes {
127+
name
128+
slug
129+
}
130+
}
131131
}
132132
... on VariableProduct {
133133
databaseId
134134
price
135135
regularPrice
136136
salePrice
137+
productCategories {
138+
nodes {
139+
name
140+
slug
141+
}
142+
}
137143
allPaColors {
138144
nodes {
139145
name

0 commit comments

Comments
 (0)