Theme specific drupal commerce product form
It's the same form ID for every type, but you can find context in the form state, e.g.

function MYMODULE_form_commerce_product_ui_product_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  $product = $form_state['commerce_product'];
  $product_type = commerce_product_type_load($product-&gt;type);

  if ($product_type-&gt;name == 'foo') {
    // ...
  }
}