How to hide node edit / delete link in a view conditionally?
Although an old issue, the way to do this in D7 commerce is with

hook_commerce_entity_access

/**
 * Implements hook_commerce_entity_access
 */
function MODULE_commerce_entity_access($op, $entity, $account, $entity_type) {
  if ($entity_type == 'commerce_order') {
    // Prevent edit and delete of 'processed' status orders
    if ($entity-&gt;status == 'processed' &amp;&amp; ($op == 'edit' || $op == 'delete')) {
      return FALSE;
    }
  }
}