I have moved a product from one catalog to another and made sure that all the variants of this one product is updated in which category it "belongs to" - but still I can't find it.
For retrieving the products from catalogs i use this - which works fine for the main catalog, but the new alternative catalog continues to be empty.
var catalogEntriesDto = context.GetCatalogEntriesDto(catalog);
if(catalogEntriesDto == null)
return new List();
var references = context
.Select(entry => referenceConverter
Any help would be appreciated. :-)
Make sure you updated the catalog on every variant as well.
What is the reason for using the old CatalogEntriesDto instead of the new Content API?
Found the problem - the problem was that the CatalogContext.Current only can hold the main "Site Catalog" ... So i just be fetching them manually from the ContentRepository as you suggest...