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

Disabling SKU from showing on clientside

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-31-2006, 06:05 AM
  wank3r's Avatar 
wank3r wank3r is offline
 

eXpert
  
Join Date: Aug 2006
Posts: 291
 

Default Disabling SKU from showing on clientside

Hi,

I would like to disable the SKU number from showing up on the clientside because it makes no sense to them knowing this and makes the site a bit more cluttered than necessary.

Does ne1 know how and where to do this? I've seached the Admin section and all Forums but nothing showed up.

Thanks
__________________
Powered by X-Cart Gold: 4.4.4/4.4.5
Reply With Quote
  #2  
Old 08-31-2006, 06:40 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Disabling SKU from showing on clientside

Just comment it out in skin1/customer/main/products.tpl

{$lng.lbl_sku}: {$products[product].productcode}

becomes:

{*
{$lng.lbl_sku}: {$products[product].productcode}
*}
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 08-31-2006, 06:42 AM
 
balinor balinor is offline
 

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

Default Re: Disabling SKU from showing on clientside

Moving to Template Editing. Please be sure to post in the appropriate forum, thank you!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 10-28-2006, 01:37 PM
 
zebu zebu is offline
 

eXpert
  
Join Date: Oct 2006
Posts: 310
 

Default Re: Disabling SKU from showing on clientside

Thanks that worked! I dont know where I was looking yesterday.

I would also like to remove the "sort by SKU......" option that appears in the top right hand corner when multiple products are listed.

I played around in search.tpl - but didnt have to much success - i tried disabling as per below

HTML Code:
$advanced_options = array({*"productcode",*} "productid", "provider", "price_max", "avail_max", "weight_max", "forsale", "flag_free_ship", "flag_ship_freight", "flag_global_disc", "flag_free_tax", "flag_min_amount", "flag_low_avail_limit", "flag_list_price", "flag_vat", "flag_gstpst", "manufacturers"); $sort_fields = array( {*"productcode" => func_get_langvar_by_name("lbl_sku"),*}

Am I fiddling in the right file?
__________________
Version 4.7.7
Reply With Quote
  #5  
Old 10-28-2006, 01:59 PM
 
balinor balinor is offline
 

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

Default Re: Disabling SKU from showing on clientside

http://forum.x-cart.com/viewtopic.php?t=15416
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 10-28-2006, 05:24 PM
 
zebu zebu is offline
 

eXpert
  
Join Date: Oct 2006
Posts: 310
 

Default Re: Disabling SKU from showing on clientside

Thanks, was looking in search.tpl - not search.php
__________________
Version 4.7.7
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 11:49 AM.

   

 
X-Cart forums © 2001-2020