0

hello
i am developing a website and i have a problem.
when i enter a keyword in my search tab, it works fine and displays all the products matching with the keyword.
when i click on a single product the product page opens fine also. but i want all the remaining search queries which showed up earlier to display under the single product page. how can i do that?

4
Contributors
3
Replies
5
Views
5 Years
Discussion Span
Last Post by senthilvignesh
0

You need to pass the original search query on to the product page, either with the URL or POST data depending on how you search for things currently. Once on the product page, use the original search term to re-run the query excluding the currently displayed item.

0

Use ajax and load the product details inside the result page using div(place an empty div on the top of the page while loading results) which pushes ur search items to the bottom. No extra querying or maintaining session.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.