Marc1995 Posted January 6, 2016 Share Posted January 6, 2016 (edited) Hi community, I am trying to set a default value for my searchbox (using default template Prestashop 1.6.x) Basically, what I'd like to achieve is following HTML-text: <input type="text" name="search_query" value="Search..."> I was trying to solve my issue by manipulation blocksearch.tpl but unfortunately unsuccessful. I am looking forward reading your tips Best regards,Marc Edited January 6, 2016 by Marc1995 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2016 Share Posted January 6, 2016 you want to do it in right way but i suppose that you altering wrong file alter theme file: /themes/YOUR-THEME/modules/blocksearch/blocksearch.tpl after you will change the .tpl file - clear shop cache 1 Link to comment Share on other sites More sharing options...
Marc1995 Posted January 6, 2016 Author Share Posted January 6, 2016 Hi thanks for your feedback. But unfortunately, it still does not work (I cleared the cache..) in the HTML (F12) value element is still empty <input type="text" name="search_query" value=""> Link to comment Share on other sites More sharing options...
Marc1995 Posted January 11, 2016 Author Share Posted January 11, 2016 Any ideas? Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2016 Share Posted January 11, 2016 hello do you use standard block search module ? you use search block that appears on top, or inside block top menu? Link to comment Share on other sites More sharing options...
Marc1995 Posted January 13, 2016 Author Share Posted January 13, 2016 Yes, search inside the block top menu 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