View Single Post
  #2  
Old 10-27-2008, 04:50 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Add module to catagory view

Quote:
Originally Posted by ibit-matt
What template do I have to edit to add a new module underneath the product in the catagory view
Also How do I remove these
Sort by:Product Price Default

See screenshot

Thanks in advance
>> 1) What template do I have to edit to add a new module underneath the product in the catagory view

"skin1/customer/main/subcategories.tpl"

>> 2) Also How do I remove these

open file "skin1/customer/main/subcategories.tpl" and
"skin1/customer/main/search_result.tpl", find and comment next lines :

subcategories.tpl
PHP Code:
{if $sort_fields}
<
div align="right">{include file="main/search_sort_by.tpl" sort_fields=$sort_fields selected=$search_prefilled.sort_field direction=$search_prefilled.sort_direction url="home.php?cat=`$cat`&"}</div>
{/if} 

search_result.tpl
PHP Code:
{if $sort_fields}
<
tr>
    <
td>{include file="main/search_sort_by.tpl" sort_fields=$sort_fields selected=$search_prefilled.sort_field direction=$search_prefilled.sort_direction url="`$navigation_script`&"}
    <
br /><br /><br />
    </
td>
</
tr>
{/if} 
Reply With Quote