London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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