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
I tested your Bobo Facets Package on a Umbraco 7.7.3 installation with the default starter kit. I got it working (kind of) following your example project (DesignAgency.BoboFacets.Example).
I have a couple of questions though that maybe you could help me with.
Thanks in advance!
Glad you managed to get it up and running in the end, if you have any suggestions on how to improve the setup then let me know.
With regards to your queries:
public override ISearchCriteria BuildBaseQuery(List<KeyValuePair<string, string>> querystring)
Hope this helps.
Thank you so much for your help, I really appreciate it! Your solution worked fine but led to a couple more questions :).
I added the override for the "BuildBaseQuery" and the other products got listed just like you said, but if I understand you correctly and add more than 10 products, only the first 10 will show up? Can I override this number in the ExamineSettings or something to be like 30 instead?
Got it. Something for me too look into a little later on, I'm still a novice and trying to get a grip on this whole Examine thing. Trying to find some suitable tutorials :).
Is it possible to change the sort order of the products listed from options in a select list (see picture)?
Many thanks, Marcus
That's okay no worries.
BrowseRequest CreateBrowseRequest(List<KeyValuePair<string, string>> querystring, int? page = default(int?), bool useOffset = false, int itemsPerPage = 10);
How did you get on with your implementation? If it's all sorted, would you mind marking this as solved?
Unfortunately I could not get neither the custom page size or the sort to work.
This is the browseRequest I use (the one from your example) in my ProductsController, and I tried to set the "itemsPerPage" parameter to 30 but could not get it to work.
var browserRequest = browser.CreateBrowseRequest(Request.QueryString.AllKeys.SelectMany(Request.QueryString.GetValues, (k, v) => new KeyValuePair<string, string>(k, v)).ToList());
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted