mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
saleor: integrate collections
This commit is contained in:
@@ -45,7 +45,7 @@ export const handler: SWRHook<
|
||||
let edges
|
||||
|
||||
if (categoryId) {
|
||||
edges = data.node?.products?.edges ?? []
|
||||
edges = data.collection?.products?.edges ?? []
|
||||
// FIXME @zaiste, no `vendor` in Saleor
|
||||
// if (brandId) {
|
||||
// edges = edges.filter(
|
||||
|
Reference in New Issue
Block a user