A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Technically you can use IContentLoader.GetDescendents and then IContentLoader.GetItems to load all products under a catalog. But I'd advise against that because it's very heavy.
My recommendation is to go with 1.2 recipe here https://leanpub.com/epicommercerecipes/read_sample
Hi,
We are trying for a scenario where we need to fetch all the products in a catalog. Is there a specific method or api to fetch all the products under a catalog even though there are specific nodes available in it.
Note: we already tried fetching nodes and parsing them to fetch the products for each node.
Regards,
Varun