mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 11:41:23 +00:00
🔨 refactor: filter one product vatiant
:%s
This commit is contained in:
@@ -8,6 +8,7 @@ export const searchResultFragment = /* GraphQL */ `
|
||||
sku
|
||||
currencyCode
|
||||
productVariantId
|
||||
productVariantName
|
||||
productAsset {
|
||||
id
|
||||
preview
|
||||
|
@@ -11,6 +11,7 @@ export function normalizeSearchResult(item: SearchResultFragment): ProductCard {
|
||||
price: (item.priceWithTax as any).min / 100,
|
||||
currencyCode: item.currencyCode,
|
||||
productVariantId: item.productVariantId,
|
||||
productVariantName:item.productVariantName,
|
||||
facetValueIds: item.facetValueIds,
|
||||
collectionIds: item.collectionIds,
|
||||
|
||||
|
Reference in New Issue
Block a user