customer/main/sortProduct.tpl (new page, please add)
Code:
{literal}
<script Language="Javascript">
function sortOnh(sortTypeNameOnh){
{/literal}
document.location.href = "{$smarty.server.PHP_SELF}?cat={$cat}&page=1&orderby="+sortTypeNameOnh;
{literal}
}
</script>
{/literal}
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><form name="srchFrmOnh"><td align="right"><select name="srchTypeOnh" OnChange="sortOnh(this.value)">
{if $orderby eq "product"}
<option selected value="product">Product Sort</option>
{else}
<option value="product">Product Sort</option>
{/if}
{if $orderby eq "price"}
<option selected value="price">Price Sort</option>
{else}
<option value="price">Price Sort</option>
{/if}
{if $orderby eq "add_date"}
<option selected value="add_date">Add Date Sort</option>
{else}
<option value="add_date">Add Date Sort</option>
{/if}
</select>
</td></form></tr></table>
customer/main/products.tpl
add new line on top or whereever you want
Code:
{if $products}
{if $main eq "catalog"}
{include file="customer/main/sortProduct.tpl"}
{/if}
{/if}
Little but important mod from Turkey!