mirror of
https://github.com/vercel/commerce.git
synced 2025-05-14 21:47:51 +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 {
|
||||
...image
|
||||
}
|
||||
images(first: 20) {
|
||||
images(first: 99) {
|
||||
edges {
|
||||
node {
|
||||
...image
|
||||
@ -56,6 +56,12 @@ const productFragment = /* GraphQL */ `
|
||||
}
|
||||
tags
|
||||
updatedAt
|
||||
collections(first: 99) {
|
||||
nodes {
|
||||
handle
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
${imageFragment}
|
||||
${seoFragment}
|
||||
|
Loading…
x
Reference in New Issue
Block a user