Hi DW,
We've tried to implement suggested search using /Admin/Public/eCom/InstantSearch.ashx as you do on http://solutionset.dynamicweb.dk/, but we ran into a lot of issues with missing data and weird search logic.
So we have a few ideas/requests. Here goes:
- Prices on products in the JSON output are limited. We need Currency, Price with and without VAT, Formatted, unformatted. Basically all the price info we can get from a product.
- Custom fields on products have no systemname, meaning that we cannot locate the correct customfield. Ideally a property for each custom field, instead of a loop.
- Prices doesn't seems to go through Price providers - Meaning that the prices, if shown in the suggestion, can be wrong.
- When seaching for a product, products that match a word exactly, have higher prio, and exclude partial matches
Example:
In your bikeshop you have a product that contains the word "GTs", searching for "GTs" returns this product:
http://solutionset.dynamicweb.dk/Admin/Public/eCom/InstantSearch.ashx?ID=48&PID=34&o=json&InstantSearchType=Search&Caller=eComQuery&eComQuery=GTs
Searhing for "GT" does not:
http://solutionset.dynamicweb.dk/Admin/Public/eCom/InstantSearch.ashx?ID=48&PID=34&o=json&InstantSearchType=Search&Caller=eComQuery&eComQuery=GT
Products that match partially should be returned even when a product matches exact
Ideally we'd like to be able to use the InstantSearch handler to create async product list, (I think paging is already in there), so if the JSON output could contain all the data that is available when doing @DwTemplateTags on a product list that would be great.
Of course this should be implemented as a search type since choosing the type output is a great feature.
// Martin