There are conditions which result in an empty results page (by empty, I mean that no Amazon items are shown).
For example, see #1166614: Using "Amazon Browse" widget in panels/pages results in blank search results page.
At a minimum, it might be better to show a configurable message when no items are found, or, show the default product list along with the configurable message.
I'm of the opinion that when no keywords are provided, the module should fall back on some kind of reasonable default behavior.
For example, when a BrowseNode search does not provide any displayable results, the module should try to retrieve the top selling items in the BrowseNode and show those in the results, then let the user filter by entering keywords in the 'narrow by' search form.
We can get a list of top sellers for a BrowseNodeLookup query by adding the "TopSellers" to the query ResponseGroup.
Comments
Comment #1
mcurry commentedUpdating title
Comment #2
rfayWorks for me.
Comment #3
mcurry commentedAssigning to mcurry..
Comment #4
bennos commentedsubscribing here.
Comment #5
mcurry commentedIf we display a configurable message, it ought to be possible to select an input filter for the message so we can use valid markup in case someone wants to embed links to other pages, or, default product lists using the [amazon ... ] filter. :D