Jump to content

Add link to see more products in instant search


_Veronika_

Recommended Posts

Hello

In the instant search with ajax you write the name of a product and instantly it shows 10 products, but maybe you have 20 products that match with the query, so I need to add a link in the end of the box like "View all results"

I didnt find any post about this. Can someone help me? Something like this, but I dont know in which file I should add it.

<div style="margin: 7px; min-width: 200px; text-align: center;">     
 <a href="{$link->getPageLink('search')|escape:'html':'UTF-8'}('.search-query').closest('form').submit();">View More Results</a>
</div>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...