search by variant on categorygridpage
Posted: Wed Oct 12, 2011 3:18 pm
Before posting, I searched the forums, I couldn't find any reference to this particular issue
we are building a new filtering system which will filter based on variants on the "category grid page"
The current code uses NarrowSearch:
Is it possible to modify this code to search the same way it does now (for keywords category and manufacturer id, low and high prices like NarrowSearch does) and add also search by variant option?
I tried using LoadForCriteria but LoadForCriteria does not perform the same way as NarrowSearch, for example the sorting is different and LoadForCriteria does not support an ORDERBY as a sortExpression.
Best Regards
Ofir
http://www.tea-corp.com
Tea-Developer
we are building a new filtering system which will filter based on variants on the "category grid page"
The current code uses NarrowSearch:
Code: Select all
ProductList.DataSource = ProductDataSource.NarrowSearch(_Keywords, this.CategoryId, _ManufacturerId, 0, 0, _PageSize, (_HiddenPageIndex * _PageSize), SortResults.SelectedValue);
I tried using LoadForCriteria but LoadForCriteria does not perform the same way as NarrowSearch, for example the sorting is different and LoadForCriteria does not support an ORDERBY as a sortExpression.
Best Regards
Ofir
http://www.tea-corp.com
Tea-Developer