mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
add path to product
This commit is contained in:
parent
64315a74ca
commit
7bf6e07cec
@ -21,6 +21,7 @@ export const normalizeProduct = (product: SyliusProduct): Product => {
|
||||
description: product.shortDescription,
|
||||
descriptionHtml: product.description,
|
||||
slug: product.slug,
|
||||
path: product.slug,
|
||||
images: product.images.map((image) => normalizeProductImage(image)),
|
||||
variants: product.variants.map((variant) =>
|
||||
normalizeProductVariant(variant)
|
||||
|
Loading…
x
Reference in New Issue
Block a user