dzinno Posted November 2, 2016 Share Posted November 2, 2016 Hi guys, what i need to do is to show custom text or maybe also custom html on search result page, when no results were found. Can someone help me with that? I'm using PS 1.6.1.4. with default theme.Thank you Ivan Link to comment Share on other sites More sharing options...
Daresh Posted November 2, 2016 Share Posted November 2, 2016 You need to edit the search.tpl file. The code that is used to display message when there are no results is here: {if !$nbProducts} <p class="alert alert-warning"> {if isset($search_query) && $search_query} {l s='No results were found for your search'} "{if isset($search_query)}{$search_query|escape:'html':'UTF-8'}{/if}" {elseif isset($search_tag) && $search_tag} {l s='No results were found for your search'} "{$search_tag|escape:'html':'UTF-8'}" {else} {l s='Please enter a search keyword'} {/if} </p> {else} Link to comment Share on other sites More sharing options...
dzinno Posted November 2, 2016 Author Share Posted November 2, 2016 OK, great, thanks. can you help me with that. I need to put there 3 lines with text and 2 clickable banner under that. Thank you again Ivan Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now