mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: add inlinking transmission code block
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
@@ -78,3 +78,22 @@ export const getCollectionProductsQuery = /* GraphQL */ `
|
||||
}
|
||||
${productFragment}
|
||||
`;
|
||||
|
||||
export const getTransmissionCodesQuery = /* GraphQL */ `
|
||||
query getTransmissionCodes($handle: String!, $filters: [ProductFilter!]) {
|
||||
collection(handle: $handle) {
|
||||
products(first: 1, filters: $filters) {
|
||||
filters {
|
||||
id
|
||||
label
|
||||
type
|
||||
values {
|
||||
id
|
||||
input
|
||||
label
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
Reference in New Issue
Block a user