Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Guys,
Does anyone can help me out figuring out how I can figuring out getting such products from multiple collections?
Till now, I am getting the ids of the categories that the user want to search by and get those categories:
var categories = _umbracoHelperService.TypedContent(umbracoHelper, ConstantValues.ProductsPageId).Children().Where(x => x.DocumentTypeAlias == ConstantValues.Document_Type_Alias_Product_Category && umbracoCategories.Contains(x.Id)).Select(x => (ProductCategory)x);
Now, I want to get those products from the ProductContentListView of those categories in order to match name with search text and also order by.. but don't know how...
I need this for pagination so I cannot get list before queryting.
Any help would be much appreciated.
thank you.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get Products From multiple Collections
Hi Guys,
Does anyone can help me out figuring out how I can figuring out getting such products from multiple collections?
Till now, I am getting the ids of the categories that the user want to search by and get those categories:
Now, I want to get those products from the ProductContentListView of those categories in order to match name with search text and also order by.. but don't know how...
I need this for pagination so I cannot get list before queryting.
Any help would be much appreciated.
thank you.
is working on a reply...