View Single Post
  #3  
Old 03-20-2009, 03:01 AM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default Re: "Sort By" Bar Appearing on Products Page

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.
__________________
v 4.1.11, v 4.2
Reply With Quote