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

Hiding SKU

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-04-2010, 05:28 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Hiding SKU

Ok.... We know it says what you posted, we have established that, we moved on from that, this is why I mentioned if you read the follow ups since then that is all...

As you posted what it says, your point being?
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #12  
Old 01-04-2010, 05:32 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Hiding SKU

I have no point sir, carry on.
__________________
xcart 5.1.2
Reply With Quote
  #13  
Old 01-04-2010, 05:36 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Hiding SKU

Quote:
Originally Posted by Ashley
I have no point sir, carry on.
OMG....What. LOL, I'm outta this topic..
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #14  
Old 01-04-2010, 05:40 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Hiding SKU

lol... nothing man. I was just saying that the verbiage seems ok to me. I don't personally see a need to add any text that says won't show on product page. That's it.
__________________
xcart 5.1.2
Reply With Quote
  #15  
Old 01-04-2010, 05:40 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: Hiding SKU

That's one of the things I love about xcart - its open source. You can go in any file and change it the way you want it to be. Lots of customers, lots of stores and each one has different requirements. It's not possible to have everything out-of-the-box ready for every user. It is hard to make everything a setting with on/off option. I agree that xcart can still be improve in many areas but just like every other everyday task - if you know it you do it, if you don't you ask someone who knows or hire someone to do it for you and you move on. Makes life easier
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #16  
Old 01-04-2010, 05:48 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Hiding SKU

True, and that's why the modders come into there own...
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #17  
Old 01-04-2010, 01:50 PM
  Babydoll's Avatar 
Babydoll Babydoll is offline
 

Advanced Member
  
Join Date: Jan 2010
Posts: 62
 

Default Re: Hiding SKU

Quote:
Originally Posted by cflsystems
The tick box in admin hides it from products list pages not from product details page. To hide it from there you have to edit product_details.tpl and comment out the code. It is not a bug, always been like this

Does anyone know how to do this?
__________________
x-cart gold 4.3.0
Artistic Tunes - Water Colour

www.babylovespink.com
Reply With Quote
  #18  
Old 01-04-2010, 02:34 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: Hiding SKU

In skin1/customer/main/product_details.tpl find this code
Code:
<tr> <td class="property-name">{$lng.lbl_sku}</td> <td class="property-value" id="product_code" colspan="2">{$product.productcode|escape}</td> </tr>
and comment it out like this
Code:
{* <tr> <td class="property-name">{$lng.lbl_sku}</td> <td class="property-value" id="product_code" colspan="2">{$product.productcode|escape}</td> </tr> *}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #19  
Old 01-04-2010, 03:23 PM
  Babydoll's Avatar 
Babydoll Babydoll is offline
 

Advanced Member
  
Join Date: Jan 2010
Posts: 62
 

Default Re: Hiding SKU

I got it! Thanks
__________________
x-cart gold 4.3.0
Artistic Tunes - Water Colour

www.babylovespink.com
Reply With Quote
  #20  
Old 01-09-2010, 03:38 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Hiding SKU

Also to hide from showing advance search > skin1/customer/Main/search_result.tpl

No point having it there at all..........
Around line 90/93 in 4.3.0 Gold

Code:
{*<label> <input type="checkbox" id="posted_data_by_sku" name="posted_data[by_sku]"{if $is_empty_search_prefilled || $search_prefilled.by_sku} checked="checked"{/if} /> {$lng.lbl_sku} </label>*}

I have commented it out in Orange (That's what's added, nothing removed)
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
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:29 PM.

   

 
X-Cart forums © 2001-2020