AI OnAI Off
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