Matteo Posted December 1, 2020 Share Posted December 1, 2020 Hi dear, any idea on how to customiza search page result? i need to add a simple inifnite circle load gif on top of that page because i use a third parts module search that need some second to load result over the page (use java box to override page content). BTW i'm not able to find where i can add content to the search result page. I've try to add code on theme\classic\templates\catalog\listing\search.tpl with no luck Link to comment Share on other sites More sharing options...
Matteo Posted December 1, 2020 Author Share Posted December 1, 2020 Hi , thanks for replying but how can I assing the new created template to search result page ? Link to comment Share on other sites More sharing options...
Matteo Posted December 1, 2020 Author Share Posted December 1, 2020 No i'm loosing some step ^^! search.tpl extend default product listing template so i need to replace the extend here to point to the new file template? i've think in the reverse way ^^ Link to comment Share on other sites More sharing options...
Matteo Posted December 1, 2020 Author Share Posted December 1, 2020 Anyone can point me in the right direction? Dont think is a hard answer for someone that work with PS template structure. Thanks Link to comment Share on other sites More sharing options...
Matteo Posted December 1, 2020 Author Share Posted December 1, 2020 I'll post here some info so other user can find more detail and maybe help me. Customize the search.tpl does not generate expected result: {* * This file allows you to customize your search page. * You can safely remove it if you want it to appear exactly like all other product listing pages *} {extends file='catalog/listing/product-list-search.tpl'} product-list-search.tpl {extends file=$layout} {block name='content'} <h1>TEST TEST TEST TEST</h1> {/block} Does no generate any difference in search result page. Link to comment Share on other sites More sharing options...
Matteo Posted December 2, 2020 Author Share Posted December 2, 2020 So there is no one people that has ever change a template file here? ^^ @ndiaga ? Link to comment Share on other sites More sharing options...
Matteo Posted December 2, 2020 Author Share Posted December 2, 2020 😂 Don't worry Link to comment Share on other sites More sharing options...
SNor42 Posted December 17, 2020 Share Posted December 17, 2020 Hi! Maybe it helps: product-list.tpl bottom: ... <div id="js-product-list-bottom"></div> {/if} </section> </section> {block name='something'}{/block} <-- add this! {/block} search.tpl: {extends file='catalog/listing/product-list.tpl'} {block name='something'}<p>Hello!</p>{/block} N 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