Set Custom Filter in Product Module #10614
Unanswered
Cluster-Taek
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for always providing excellent libraries and documentation.
Following the documentation, we linked brands to products separately from categories, and all features are working flawlessly on the admin page.
However, we are encountering an issue when attempting to apply a brand filter on a product list component, such as paginated-products.tsx, on the user page.
On the frontend, we have confirmed that the SDK module is generally used to retrieve products. We are wondering how to apply the brand filter in this context.
When we try to incorporate the brand filter into the SDK, a Zod error is returned like this screenshot.
Is there a way to directly apply the brand filter using the SDK?
Or would it be necessary to create a new route for this purpose?
We would be sincerely grateful for your assistance.
Beta Was this translation helpful? Give feedback.
All reactions