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.
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
Thank you very Much Quan.It worked.