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.
You can use this from ICatalogSystem
https://world.episerver.com/documentation/class-library/?documentId=commerce/7.5/55CDC787
Hi Quan,
Thanks for your answer, it workes straight away.
Not sure how missed it, I think I looked into GetCatalogNodeDto() but didn't look into all the different signature that it offers.
Thanks,
Anurag
Hi,
I am looking to create a function that will return "Category / Subcategory" for the given SEOURI.
Is there a way I can search for Category in entire Catalog.
My Code so far works for Product but not for Category Node.
var catalogEntry = _catalogSystem.GetCatalogEntryByUriDto(SEOUri, "en-GB");
if (catalogEntry .CatalogEntry.Count > 0 && catalogEntry .CatalogEntry[0].Code != "")
{
return true;
}
Thanks,
Anurag