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

hide sku

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-21-2008, 01:26 PM
 
surfrider surfrider is offline
 

Advanced Member
  
Join Date: Feb 2008
Location: California
Posts: 88
 

Question hide sku

Is it possible to hide sku from displaying in customer storefront page? I looked in admin if there is an option but I could not find one.
__________________
xcart gold 4.1.9
xcart gold 4.1.11
xcart gold 4.1.12
xcart gold 4.4.3
xcart gold 4.6.3
Reply With Quote
  #2  
Old 03-21-2008, 01:57 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: hide sku

For some strange reason searching for sku doesn't work so I can't find the relevant thread.

Anyways, if you need it for admin purposes and not displaying on the storefront the only way is to manually edit it out from the relevant .tpl

If that is the case, find your skin1/customer/main/product.pl

and locate the lines similar to these...
<tr>
<td width="30%">{$lng.lbl_sku}</td>
<td nowrap="nowrap" id="product_code">{$product.productcode}</td>
</tr>

and then {*comment*} them out
__________________
Doms
kube v4.1.9
Reply With Quote
  #3  
Old 03-22-2008, 11:59 AM
 
surfrider surfrider is offline
 

Advanced Member
  
Join Date: Feb 2008
Location: California
Posts: 88
 

Default Re: hide sku

Thank you Kube. I was able to comment out the SKU on the produt page.

I also tried to search for sku in the forum but it returns no result. strange...

Although I was able to turn off SKU on product page, I noticed there is SKU in search. When I looked to disabled the option in General Settings -> Product search options, I did not see the option to turn off SKU.

How can I make this sku not show up on the search page?
__________________
xcart gold 4.1.9
xcart gold 4.1.11
xcart gold 4.1.12
xcart gold 4.4.3
xcart gold 4.6.3
Reply With Quote
  #4  
Old 03-22-2008, 01:37 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: hide sku

Unfortunately I haven't got access to a clean install at the moment. Use your Webmaster Mode in Internet Explorer and move your mouse along the lines of the SKU part on the search page. This way you'll be able to refer to the status bar, located (usually) in the bottom left-hand corner of the browser. The status bar should hopefully tell you which tpl to edit.
__________________
Doms
kube v4.1.9
Reply With Quote
  #5  
Old 03-22-2008, 01:44 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: hide sku

Okay I used the online demo instead...

If you are referring to the SKU check box that appears if there are no results then...

locate skin1/customer/main/search_result.tpl
and {* comment *} out the lines that look similar to these...

<td width="5"><input type="checkbox" id="posted_data_by_sku" name="posted_data[by_sku]"{if $is_empty_search_prefilled or $search_prefilled.by_sku} checked="checked"{/if} /></td>
<td nowrap="nowrap"><label for="posted_data_by_sku">{$lng.lbl_sku}</label></td>

Hope this helps.
Doms
__________________
Doms
kube v4.1.9
Reply With Quote
  #6  
Old 03-22-2008, 04:17 PM
 
uglysign uglysign is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 70
 

Default Re: hide sku

Searched in Dreamweaver > Folder > Skin1 Only

http://teepeesigns.com/images/sku.png
__________________
4.4.3
One Page Checkout :: OnSale :: Download Expander
Smart Template by X-Cart MODS
Reply With Quote
  #7  
Old 03-24-2008, 07:28 AM
 
surfrider surfrider is offline
 

Advanced Member
  
Join Date: Feb 2008
Location: California
Posts: 88
 

Default Re: hide sku

Kube - thank you for your direction. I was able to comment out sku from search result.

uglysign - thank you for pointing out other files that have reference to sku.
__________________
xcart gold 4.1.9
xcart gold 4.1.11
xcart gold 4.1.12
xcart gold 4.4.3
xcart gold 4.6.3
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 01:54 PM.

   

 
X-Cart forums © 2001-2020