how to remove element from node__product__type.tpl.php commerce kickstart In my website with commerce kickstart, I would like to remove div with its class name "field_label" in node__product__type.tpl.php. I have no idea of how to code to remove it. Any suggestion is greatly appreciate.

html

&lt;div class="field-label"&gt;
    tshirt size: 
&lt;/div&gt;


node__product__type.tpl.php

&lt;article&lt;?php print $attributes; ?&gt;&gt;
&lt;?php print "testing product testing" ?&gt;
&lt;?php print $user_picture; ?&gt;
&lt;?php print render($title_prefix); ?&gt;
&lt;?php if (!$page &amp;&amp; $title): ?&gt;
  &lt;header&gt;
     &lt;h2&lt;?php print $title_attributes; ?&gt;&gt;&lt;a href="&lt;?php print $node_url ?&gt;" title="&lt;?php print $title ?&gt;"&gt;&lt;?php print $title ?&gt;&lt;/a&gt;&lt;/h2&gt;
  &lt;/header&gt;
&lt;?php endif; ?&gt;
&lt;?php print render($title_suffix); ?&gt;
&lt;?php if ($display_submitted): ?&gt;
&lt;footer class="submitted"&gt;&lt;?php print $date; ?&gt; -- &lt;?php print $name; ?&gt;&lt;/footer&gt;
  &lt;?php endif; ?&gt;
 &lt;div class="container-24 grid-14 prefix-1 clearfix"&gt;
   &lt;?php print render($content['product:field_images']); ?&gt;
 &lt;/div&gt;
&lt;div class="container-24 grid-8 prefix-1"&gt;
   &lt;div&lt;?php print $content_attributes; ?&gt;&gt;
     &lt;?php
      // We hide the comments and links now so that we can render them later.
       hide($content['comments']);
       hide($content['links']);
       print render($content);
    ?&gt;
   &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="container-24 grid-24 clearfix"&gt;
    &lt;?php if (!empty($content['links'])): ?&gt;
    &lt;nav class="links node-links clearfix"&gt;&lt;?php print render($content['links']);?&gt;&lt;/nav&gt;
  &lt;?php endif; ?&gt;
    &lt;?php
      print render($content['comments']);
    ?&gt;
   &lt;/div&gt;
 &lt;/article&gt;
If you want to remove both the class and the label, 'tshirt size:', you don't have to do it via code. You can use the "Display settings" of the product and make the label hidden. ie, Go to content type -> Manage Display -> Node and select hidden for the size label.