mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: implement breadcrumb for PDP
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
@@ -24,6 +24,12 @@ const productFragment = /* GraphQL */ `
|
||||
currencyCode
|
||||
}
|
||||
}
|
||||
collections(first: 1) {
|
||||
nodes {
|
||||
title
|
||||
handle
|
||||
}
|
||||
}
|
||||
variants(first: 250) {
|
||||
edges {
|
||||
node {
|
||||
|
@@ -127,6 +127,12 @@ export type ShopifyProduct = {
|
||||
seo: SEO;
|
||||
tags: string[];
|
||||
updatedAt: string;
|
||||
collections: {
|
||||
nodes: {
|
||||
title: string;
|
||||
handle: string;
|
||||
}[];
|
||||
};
|
||||
};
|
||||
|
||||
export type ShopifyCartOperation = {
|
||||
|
Reference in New Issue
Block a user