mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Fix slugs for pages
This commit is contained in:
@@ -178,32 +178,32 @@ export const productQuery = `*[_type == "product" && slug.current == $slug && la
|
||||
slug,
|
||||
"locale": language
|
||||
},
|
||||
"product": {
|
||||
id,
|
||||
"name": title,
|
||||
description,
|
||||
"descriptionHtml": "",
|
||||
images[] {
|
||||
${imageFields}
|
||||
},
|
||||
price {
|
||||
value,
|
||||
currencyCode,
|
||||
retailPrice
|
||||
},
|
||||
options[] {
|
||||
id,
|
||||
displayName,
|
||||
values[] {
|
||||
label,
|
||||
"hexColors": hexColors.hex
|
||||
}
|
||||
},
|
||||
"variants": []
|
||||
"product": {
|
||||
id,
|
||||
"name": title,
|
||||
description,
|
||||
"descriptionHtml": "",
|
||||
images[] {
|
||||
${imageFields}
|
||||
},
|
||||
seo {
|
||||
${seoFields}
|
||||
}
|
||||
price {
|
||||
value,
|
||||
currencyCode,
|
||||
retailPrice
|
||||
},
|
||||
options[] {
|
||||
id,
|
||||
displayName,
|
||||
values[] {
|
||||
label,
|
||||
"hexColors": hexColors.hex
|
||||
}
|
||||
},
|
||||
"variants": []
|
||||
},
|
||||
seo {
|
||||
${seoFields}
|
||||
}
|
||||
}`
|
||||
|
||||
// Category query
|
||||
|
Reference in New Issue
Block a user