Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have two workflows, one does not require payment and the other does. But... Commerce payment removes the billing information pane.
/**
* Implements hook_commerce_checkout_pane_info_alter().
*/
function commerce_payment_commerce_checkout_pane_info_alter(&$definitions) {
// The payment_information pane replaces the billing_information one.
unset($definitions['billing_information']);
}
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedI think this issue deals with the exact same problem: #2856583: Allow free orders (checkout without payment)
Closing this as a duplicate. Reopen if you think I'm wrong.