How to display physical dimension fields on node--product.tpl.php? I am using the Drupal Commerce module and I want to print the physical dimension fields(machine name: field_width) value on product detail page.

How can I print physical dimension fields value in node--product.tpl.php file?

My file code is like so:

&lt;div id="node-&lt;?php print $node-&gt;nid; ?&gt;" class="&lt;?php print $classes; ?&gt;"
&lt;?php print $attributes; ?&gt; &gt;

&lt;?php print $user_picture; ?&gt;

&lt;?php print render($title_prefix); ?&gt;
&lt;?php if (!$page): ?&gt;
&lt;h2&lt;?php print $title_attributes; ?&gt;&gt;&lt;a href="&lt;?php print $node_url; ?&gt;"&gt;&lt;?php print $title; ?&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;?php endif; ?&gt;
&lt;?php print render($title_suffix); ?&gt;

&lt;?php if ($display_submitted): ?&gt;
&lt;span class="submitted"&gt;&lt;?php print $submitted ?&gt;&lt;/span&gt;
&lt;?php endif; ?&gt;

&lt;div class="content clearfix"&lt;?php print $content_attributes; ?&gt;&gt;



&lt;div class="c-i-rgt"&gt;


&lt;div class="zomer_img"&gt;
&lt;?php
if ($view_mode == 'teaser')
else
print render($content['field_image1']); 
print render($content['field_width']);
print render($content['product:commerce_price']);
?&gt;
&lt;/div&gt;&lt;div class="clear"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
Have you set the field to be displayed under display settings for the content type? 



Above is how the Field UI looks, maybe your product dimension field is hidden?

There is a guide here, on how to customize the Drupal commerce product display.

If you want to print the field in node--product.tpl.php you should first drag it so it is visible in the field UI.

Then you need to add render($content['product:field_width']);