i use drupal 7 with Commerce module installed. I am searching a couple days to find out a way to change (alter) the presentation (theme) of Checkout page. I mean the first page that someone visit after pressing Checkout button. (Not the review or payment pages).
What is trying to do, is to have only the cart contents on top and below that i want to create a tab system with the following tabs:
- Create Account
- Complete checkout as a guest
So i need to hide the billing or shipping or any other pane and make them visible only on the third tab.
I think i have some pieces of the puzzle, for example i have tried creating a custom module and playing with hook_commerce_checkout_pane_info_alter to unset some panes and hook_form_commerce_checkout_form_alter to create panes programmatically but i am lost in space...
Another puzzle piece, is the php code of the login form for the first tab(Login) for example:
<?php $elements = drupal_get_form("user_login"); $form = drupal_render($elements); echo $form; ?>
Thank you :)