Disable user registration in /user/register, but allow registration during commerce checkout?
You can do that with hook_menu_alter() by changing the access for that path:

function MYMODULE_menu_alter(&amp;$items) {
  $items['user/register']['access callback'] = FALSE;
}