![]() |
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 |
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 :) |
Re: SKU & Weight on Details Page
Thanks, worked like a charm.
|
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? |
Re: SKU & Weight on Details Page
ah goody. you cant get it to come up huh. LOL
|
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. |
All times are GMT -8. The time now is 05:31 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.