Ok, thanks. I copied it stupidly. Now I got :
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’ or ‘;’ in /homepages/9/d442537627/htdocs/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-single_product.php on line 386
with this code :
<?php $metadata=get_product_meta($id_product,'product_metadata', true);$dimension=$metadata['dimensions']; $height=$dimension['height']; $heightunit=$dimension['height_unit']; $width=$dimension['width']; $widthunit=$dimension['width_unit'];//$metadata=get_product_meta($id_product, 'product_metadata', true);
$weight=$metadata['weight']; $weightunit=$metadata['weight_unit'];
echo 'Hauteur : ' .$height. ' '.$heightunit.'<br/>'
'Largeur : ' .$width. ' '.$widthunit.'<br/>'
'Poids : ' .$weight. ' '.$weightunit.; ?>
I don’t see where is the problem.