Thanks Victor!
I went ahead and did the following and it now works properly, with the sort bar on the categories pages but not the individual product pages:
Code:
{if $product}
{elseif $printable ne 'Y'}
<div class="dialog-search-sort-bar">
{if $selected eq '' && $direction eq ''}
{include file="customer/search_sort_by.tpl" selected=$search_prefilled.sort_field direction=$search_prefilled.sort_direction url=$products_sort_url}
{else}
{include file="customer/search_sort_by.tpl" url=$products_sort_url}
{/if}
</div>
{/if}
I tried doing an if with an || statement about products but it didn't work, so I just did an empty if and then the else if and it works! A bit of a hack, but it solves the issue which is what matters.