nucklear

Drupal 7 Ubecart theming checkout page

May 13th, 2012
961
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tree theming.
  2. /theme/templates/page--cart.tpl.php
  3. /theme/templates/page--cart--checkout.tpl.php
  4.  
  5. ***************************************************
  6.  
  7.  
  8. /theme/templates/uc-cart-checkout-form.tpl.php
  9.  
  10. <?php $form = $variables['form']; ?>
  11. <?php //kpr($form) ?>
  12.  
  13. <?php print drupal_render($form['form_id']); ?>
  14. <?php print drupal_render($form['form_build_id']); ?>
  15. <?php print drupal_render($form['form_token']); ?> <!-- very important!!! -->
  16.  
  17. <table class="form-checkout" width="100%">
  18.     <tr>
  19.         <td colspan="2">
  20. <?php print drupal_render($form['panes']['cart']); ?>
  21.         </td>
  22.     </tr>
  23.  
  24.     <tr>
  25.         <td width="50%">
  26. <?php print drupal_render($form['panes']['customer']); ?>
  27.  
  28.    <?php print drupal_render($form['panes']['delivery']); ?>
  29.       </td>
  30.  
  31. <td>
  32.  
  33. <?php print drupal_render($form['panes']['coupon']); ?>
  34. <?php print drupal_render($form['panes']['coupon_automatic']); ?>
  35. <?php print drupal_render($form['panes']['quotes']); ?>
  36. <?php print drupal_render($form['panes']['payment']); ?>
  37. <?php print drupal_render($form['panes']['comments']); ?>
  38.  
  39.  
  40. <?php print drupal_render($form['actions']); ?>
  41. </td>
  42.  
  43. </tr>
  44. </table>
RAW Paste Data