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

Removing "sort by: SKU"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-22-2004, 09:12 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default Removing "sort by: SKU"

I like the sort feature, but how do I remove the option to sort by SKU?

I'd also like to have price listed before product in the list.
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #2  
Old 12-26-2004, 07:32 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default

Anyone?
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #3  
Old 12-26-2004, 11:23 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Removing "sort by: SKU"

Quote:
Originally Posted by g0t0pless
I like the sort feature, but how do I remove the option to sort by SKU?

I'd also like to have price listed before product in the list.

Customer search.tpl in skin1 dir.

Should be the rigt place to start.
__________________
vs 4.1.12
Reply With Quote
  #4  
Old 12-27-2004, 08:24 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That is actually in Include/search.php. Just remove this line:

Code:
"productcode" => func_get_langvar_by_name("lbl_sku"),

As for moving the items, just re-order the list as you would like to see it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-27-2004, 11:43 AM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default

Excellent! I will try it tonight and see how it goes.

Thank you for listing the xact file and line I need to edit.
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #6  
Old 12-27-2004, 07:33 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default

Thanks man, worked like a charm. Excellent!
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #7  
Old 11-11-2005, 05:01 PM
 
enchanted1 enchanted1 is offline
 

Advanced Member
  
Join Date: Sep 2005
Location: Sydney
Posts: 31
 

Default

Quote:
Originally Posted by balinor
That is actually in Include/search.php. Just remove this line:

Code:
"productcode" => func_get_langvar_by_name("lbl_sku"),

As for moving the items, just re-order the list as you would like to see it.

Hi Padraic,

can you help me figure this out? I can't seem to find the directory/folder you are referring to (include/search.php). Where is the include directory?

or am i looking for the wrong thing?

Thanks,
rebecca
xcart gold 4.0
__________________
Shane
www.enchantedenvelope.com.au
operating w/ xCart Gold
Version 4.0.14
Reply With Quote
  #8  
Old 11-11-2005, 05:06 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You can't get to it via the Admin area because it is not a template. You need to get in there via ftp, it is in the root directory of X-Cart.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 11-11-2005, 07:23 PM
 
enchanted1 enchanted1 is offline
 

Advanced Member
  
Join Date: Sep 2005
Location: Sydney
Posts: 31
 

Default

Quote:
Originally Posted by balinor
You can't get to it via the Admin area because it is not a template. You need to get in there via ftp, it is in the root directory of X-Cart.


Thanks! It worked.

Rebecca
__________________
Shane
www.enchantedenvelope.com.au
operating w/ xCart Gold
Version 4.0.14
Reply With Quote
  #10  
Old 02-23-2006, 07:17 AM
 
webdesignhelper webdesignhelper is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 52
 

Default

thanks - worked for me to
__________________
WebDesignHelper.co.uk
Version 4.4.2 of x-cart
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 04:06 AM.

   

 
X-Cart forums © 2001-2020