Jump to content

How to customize search result page in classic theme ps 1.7.6.1


Matteo

Recommended Posts

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

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

  • 2 weeks later...

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

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...