A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.3 KiB

13 years ago
  1. <div id="CartViewInner">
  2. <div class="CheckoutHeading">
  3. &nbsp;&nbsp;&nbsp; Shopping Cart
  4. </div>
  5. <?php if( ! $_CONTROL->LoggedIn )
  6. print '<div class="info">' . Quasi::Translate('We are sorry, you must be logged in to view the cart.')
  7. . '</div>';
  8. else
  9. {
  10. ?>
  11. <div class="ProductItemList">
  12. <table>
  13. <thead>
  14. <tr>
  15. <th><?php print Quasi::Translate('Name'); ?></th>
  16. <th><?php print Quasi::Translate('Image'); ?></th>
  17. <th><?php print Quasi::Translate('Dimensions'); ?></th>
  18. <th><?php print Quasi::Translate('Remove'); ?></th>
  19. <th><?php print Quasi::Translate('Item Price'); ?></th>
  20. <th><?php print Quasi::Translate('Quantity'); ?></th>
  21. <th><?php print Quasi::Translate('Item Total'); ?></th>
  22. </tr>
  23. </thead>
  24. <tbody>
  25. <!-- Item rows .. -->
  26. <?php
  27. if(null != $_CONTROL->ShoppingCart)
  28. {
  29. $blnAlternate = false;
  30. foreach($_CONTROL->aryShoppingCartItemViews as $objItemView)
  31. {
  32. if($blnAlternate)
  33. {
  34. print '<tr class="alternate">';
  35. $blnAlternate = false;
  36. }
  37. else
  38. {
  39. print '<tr>';
  40. $blnAlternate = true;
  41. }
  42. $objItemView->Render();
  43. print "</tr> \n";
  44. }
  45. }
  46. ?>
  47. </tbody>
  48. </table>
  49. </div>
  50. <?php $_CONTROL->objOrderTotalsView->Render(); ?>
  51. <div class="spacer"></div>
  52. <?php $_CONTROL->lblMessage->Render(); ?>
  53. <hr>
  54. <div class="formActions">
  55. <div class="save"><?php $_CONTROL->btnSave->Render(); ?></div>
  56. <div class="checkout"><?php $_CONTROL->btnCheckOut->Render(); ?></div>
  57. </div>
  58. <div class="spacer"></div>
  59. <div id="ProgressBar">
  60. <?php $_CONTROL->lblProgressBar->Render(); ?>
  61. </div>
  62. <?php } //close else ?>
  63. </div>