Try our conversational search powered by Generative AI!

Get products in a Additional Category (ParentNodeRelations())

Vote:
 

Hi

I have an issue, we have a category page where we are listing all the products under a category, but all the items that have that category only as a "additional categories" is not being recieved
and i cant for the life of me find how i can retrieve all the items, below is our query. 

EDIT: I have read that i should be able to filterer on this ParentNodeRelations(), but that extension does not seem to exist in new versions.

return query
                .Filter(x => x.aZStatus.Match(Constant.Values.StatusActive) | x.aZStatus.Match(Constant.Values.StatusPendingCancel))
                .Filter(x => x.CatalogId.Match(searchProperties.CatalogId))
                .Filter(x => x.Ancestors().Match(link))
                .FilterAssortments(searchProperties)
                .FilterColors(filterOptions)
                .FilterVolatage(filterOptions)
                .FilterDetails(filterOptions)
                .TermsFacetFor(p => p.Color)
                .TermsFacetFor(p => p.Voltage)
                .NestedTermsFacetFor(x => x.ProductDetails, x => x.DetailValue)
                .Skip((filterOptions.Page - 1) * filterOptions.PageSize)
                .Take(filterOptions.PageSize)
                .GetContentResult(360, true);


EpiServer Find 13.2.8.0
EpiServer Find Commerce 11.2.0

#253953
Edited, Apr 27, 2021 6:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.