mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 05:56:59 +00:00
lib/shopify: add collection names to product query fragment
This commit is contained in:
parent
f54c0cfe65
commit
087c5ecb93
@ -44,7 +44,7 @@ const productFragment = /* GraphQL */ `
|
|||||||
featuredImage {
|
featuredImage {
|
||||||
...image
|
...image
|
||||||
}
|
}
|
||||||
images(first: 20) {
|
images(first: 99) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
...image
|
...image
|
||||||
@ -56,6 +56,12 @@ const productFragment = /* GraphQL */ `
|
|||||||
}
|
}
|
||||||
tags
|
tags
|
||||||
updatedAt
|
updatedAt
|
||||||
|
collections(first: 99) {
|
||||||
|
nodes {
|
||||||
|
handle
|
||||||
|
title
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
${imageFragment}
|
${imageFragment}
|
||||||
${seoFragment}
|
${seoFragment}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user