Re: Front end (Customer) product search logic and search results - worse than X-Cart 4?
So what I am trying to do is for any search term:
- list products where the substring is in the product title first
- list products where the substring is elsewhere (like in the description) after the above.
If I do a getData (using the default code) it returns a list of products but that list does not contain the name, description, page title, meta description, etc.
As such I can't loop through these results to get places where the substring appears in the product title (in order to list those first) and then tag the left overs onto that array.
... or can I?