Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Deleting SKU out of Sort by line

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-27-2010, 08:01 PM
 
chrisinoz chrisinoz is offline
 

eXpert
  
Join Date: Aug 2004
Location: Australia
Posts: 248
 

Default Deleting SKU out of Sort by line

Hi

Can't work it out where to delete the SKU from 'Sort By" line.

X-Cart version 4.0.18

Thanks
Chris
__________________
Chris G
Humble web designer
Version 4.07 - 4.45
Reply With Quote
  #2  
Old 07-28-2010, 12:35 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Deleting SKU out of Sort by line

Look at main/search_sort_by.tpl
__________________
4.6.1 Platinum


Reply With Quote
  #3  
Old 07-28-2010, 12:55 AM
 
chrisinoz chrisinoz is offline
 

eXpert
  
Join Date: Aug 2004
Location: Australia
Posts: 248
 

Default Re: Deleting SKU out of Sort by line

Thanks for the quick response Learner but I am not sure what to delete there - I did look at that earlier.

======================
{if $url eq '' && $navigation_script ne ''}{assign var="url" value=$navigation_script|cat:"&"}{/if}
<B>{$lng.lbl_sort_by}:</B>&nbsp;&nbsp;&nbsp;&nbsp;
{foreach from=$sort_fields key=name item=field}
<A href="{$url}sort={$name}&sort_direction={if $name eq $selected}{if $direction eq 1}0{else}1{/if}{else}{$direction}{/if}" style="TEXT-DECORATION: underline;" title="{$lng.lbl_sort_by}: {$field}">{if $name eq $selected}<B><IMG src="{$ImagesDir}/{if $direction}darrow.gif{else}uarrow.gif{/if}" width="9" height="9" border="0" valign="absmiddle" alt="{$lng.lbl_sort_direction}">&nbsp;{/if}{$field}{if $name eq $selected}</B>{/if}</A>&nbsp;&nbsp;&nbsp;&nbsp;
{/foreach}
==========================================

Cheers
Chris
__________________
Chris G
Humble web designer
Version 4.07 - 4.45
Reply With Quote
  #4  
Old 07-28-2010, 01:09 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Deleting SKU out of Sort by line

What you want, want delete sort by options??

Look at the line 42 in include/search.php.

What is your store url??
__________________
4.6.1 Platinum


Reply With Quote
  #5  
Old 07-28-2010, 01:41 AM
 
chrisinoz chrisinoz is offline
 

eXpert
  
Join Date: Aug 2004
Location: Australia
Posts: 248
 

Default Re: Deleting SKU out of Sort by line

Client not using SKU now so no use ordering by it
http://www.adelaidecellardoor.com.hk/home.php?cat=1
Cheers
__________________
Chris G
Humble web designer
Version 4.07 - 4.45
Reply With Quote
  #6  
Old 07-28-2010, 01:57 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Deleting SKU out of Sort by line

In admin General settings->Appearance Options->Displaying products->Display product code (SKU) in the products list
disable the check box)

It will work.
__________________
4.6.1 Platinum


Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:11 PM.

   

 
X-Cart forums © 2001-2020