Render a Views table row ID using a field as the ID value
Try this to add an id attribute with your SKU based on the $view->result output:

 &lt;tr &lt;?php if ($row_classes[$row_count]) { print 'class="' . implode(' ', $row_classes[$row_count]) .'"';  } ?&gt; id="&lt;?php print $view-&gt;result[0]-&gt;commerce_product_sku; ?&gt;"&gt;