Insert weight line

Hello,



I want to put weight in the product page, and i found a way brandonvd suggested to another member. It says to add:


{$lang.weight}: {$product.weight} {$lang.lbs}




on the file skins/you_skin/products_pages/product_details.tpl , bellow the line:

{$lang.sku}: {$product.product_code}




my question is how to add this with a hook? Last, the topic was from 2008, is this still going to work in the version 2.2.2?



Thanks in advance,

Artemis

Yes I can not find this “[color=#282828][font=arial, verdana, tahoma, sans-serif]product_details.tpl” file in the new version.[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]Please can you point out where is it this file containing the code?[/font][/color]





[color=#282828][font=arial, verdana, tahoma, sans-serif]Thank You[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif]Erjon[/font][/color]

In skins/your-skin/customer/blocks/product_templates/default_template.tpl put:


{$lang.weight}: {$product.weight} {$settings.General.weight_symbol}






Below:


{assign var="sku" value="sku_$obj_id"}{$smarty.capture.$sku}



Obviously a hook would be better, but at least this should get you going.



Hope it helps,



Brandon