Altering a Drupal Commerce Form I can't figure out how to alter the drupal commerce form. I created a module with a .module and .info file and have enabled 'devel'. I've also enabled this module. However, when I use the following code, or derivations thereof, no message appears in the message area no matter how many times I refresh the page. I've flushed caches and made sure $messages is set to display on the template.

&lt;?php
  function module_name_form_alter(&amp;$form, &amp;$form_state, $form_id) {
    if($form_id == "commerce_checkout_form_checkout") {
      dpm($form_id);
    }
  }


Anyone know what the problem is here?
Try hook_form_alter() like this;

function MYMODULE_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  switch ($form_id) {
    case 'commerce_form':
      ...
    break;
}