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

SKU & Weight on Details Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-06-2007, 01:16 PM
 
natdog natdog is offline
 

Member
  
Join Date: Feb 2007
Posts: 13
 

Default SKU & Weight on Details Page

How do remove the weight and sku field from the product details page. Have just installed my first package and this forum is great.

Dave
__________________
4.1.6
Reply With Quote
  #2  
Old 02-06-2007, 01:56 PM
 
balinor balinor is offline
 

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

Default Re: SKU & Weight on Details Page

Hi Dave, welcome to the forum! Open up customer/main/product.tpl. The code you want to remove are these lines:

<tr>
<td width="30%">{$lng.lbl_sku}</td>
<td nowrap="nowrap" id="product_code">{$product.productcode}</td>
</tr>

{if $product.weight ne "0.00" || $variants ne ''}
<tr id="product_weight_box">
<td width="30%">{$lng.lbl_weight}</td>
<td nowrap="nowrap"><span id="product_weight">{$product.weight|formatprice}< /span> {$config.General.weight_symbol}</td>
</tr>
{/if}


Moving this to the Template Editing forum. Good guide to which template is which is at the top of this forum
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-06-2007, 02:29 PM
 
natdog natdog is offline
 

Member
  
Join Date: Feb 2007
Posts: 13
 

Thumbs up Re: SKU & Weight on Details Page

Thanks, worked like a charm.
__________________
4.1.6
Reply With Quote
  #4  
Old 02-15-2007, 07:31 AM
  herbj's Avatar 
herbj herbj is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Florida
Posts: 62
 

Default Re: SKU & Weight on Details Page

I have the opposite request.
My Sku# does not show on the product details page nor after it is moved to the cart. It shows in product list only!

I have the x-cart generated "#XXXXX" that shows up after the Product name! But I would prefer to use my own!

Any options here?
Reply With Quote
  #5  
Old 06-11-2007, 07:37 PM
 
e diddy e diddy is offline
 

Newbie
  
Join Date: Jun 2007
Posts: 1
 

Default Re: SKU & Weight on Details Page

ah goody. you cant get it to come up huh. LOL
__________________
Geico.com - So easy even a caveman can do it!
Reply With Quote
  #6  
Old 06-26-2007, 08:41 PM
 
ChrisBarnett ChrisBarnett is offline
 

Member
  
Join Date: Jun 2007
Posts: 13
 

Default Re: SKU & Weight on Details Page

Hello,

Also, it appears to still try and validate the fields. So if the fields are missing, then it will complain that they haven't been filled in!

Does anyone know where it validates the fields?

Cheers.
__________________
X-Cart - 4.1.7 PRO
PHP - 4.4.4
MySQL 5.0.27
Apache 1.3.37
Linux
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:15 PM.

   

 
X-Cart forums © 2001-2020