Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2011
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. <?php if (shopp('cart','hasitems')): ?>
  2. <form id="cart" action="<?php shopp('cart','url'); ?>" method="post">
  3. <big id="cart-top">
  4. <a href="<?php shopp('cart','referrer'); ?>">&laquo; Continue Shopping</a>
  5. <a href="<?php shopp('checkout','url'); ?>" class="right">Proceed to Checkout &raquo;</a>
  6. </big>
  7.  
  8. <?php shopp('cart','function'); ?>
  9. <table class="cart">
  10. <tr>
  11. <th scope="col" class="item">Cart Item(s)</th>
  12. <th scope="col">Quantity</th>
  13. <th scope="col" class="money">Item Price</th>
  14. <th scope="col" class="money">Item Total</th>
  15. </tr>
  16.  
  17. <?php while(shopp('cart','items')): ?>
  18. <tr>
  19. <td>
  20. <a href="<?php shopp('cartitem','url'); ?>"><?php shopp('cartitem','name'); ?></a>
  21. <?php shopp('cartitem','options'); ?>
  22. <?php shopp('cartitem','addons-list'); ?>
  23. <?php shopp('cartitem','inputs-list'); ?>
  24. </td>
  25. <td><?php shopp('cartitem','quantity','input=text'); ?>
  26. <?php shopp('cartitem','remove','input=button'); ?></td>
  27. <td class="money"><?php shopp('cartitem','unitprice'); ?></td>
  28. <td class="money"><?php shopp('cartitem','total'); ?></td>
  29. </tr>
  30. <?php endwhile; ?>
  31.  
  32. <?php while(shopp('cart','promos')): ?>
  33. <tr><td colspan="4" class="money"><?php shopp('cart','promo-name'); ?> &mdash; <strong><?php shopp('cart','promo-discount'); ?></strong></td></tr>
  34. <?php endwhile; ?>
  35. <br />
  36. <h6>What's in your cart:</h6>
  37. <tr class="totals">
  38. <td colspan="2" rowspan="5">
  39. <?php if (shopp('cart','needs-shipping-estimates')): ?>
  40. <h5>Estimate Shipping For:</h5>
  41. <?php shopp('cart','shipping-estimates'); ?>
  42. <?php shopp('customer','shipping-state'); ?>
  43. <?php endif; ?>
  44. </td>
  45. <th scope="row">Subtotal</th>
  46. <td class="money"><?php shopp('cart','subtotal'); ?></td>
  47. </tr>
  48. <?php if (shopp('cart','hasdiscount')): ?>
  49. <tr class="totals">
  50. <th scope="row">Discount</th>
  51. <td class="money">-<?php shopp('cart','discount'); ?></td>
  52. </tr>
  53. <?php endif; ?>
  54. <?php if (shopp('cart','hasshipcosts')): ?>
  55. <tr class="totals">
  56. <th scope="row"><?php shopp('cart','shipping','label=Shipping'); ?></th>
  57. <td class="money"><?php shopp('cart','shipping'); ?></td>
  58. </tr>
  59. <?php endif; ?>
  60. <tr class="totals">
  61. <th scope="row"><?php shopp('cart','tax','label=Tax'); ?></th>
  62. <td class="money"><?php shopp('cart','tax'); ?></td>
  63. </tr>
  64. <tr class="totals total">
  65. <th scope="row">Total</th>
  66. <td class="money"><?php shopp('cart','total'); ?></td>
  67. </tr>
  68. <tr class="buttons">
  69. <td colspan="4"><?php shopp('cart','update-button'); ?></td>
  70. </tr>
  71. </table>
  72.  
  73. <h6>Got a coupon code? Enter it here:</h6>
  74. <?php shopp('cart','promo-code','class=promo-input&value=Apply Coupon&title=Enter Any Discount Codes Here'); ?>
  75.  
  76. <h6>Shipping Rate Reminder:</h6>
  77. <p>All products will be sent out via Fedex Ground and are expected to ship within 3-5 business days.</p>
  78. <big id="cart-bottom">
  79. <a href="http://pooltees.com" class="left">&laquo; Continue Shopping</a>
  80. <a href="<?php shopp('checkout','url'); ?>" class="right">Proceed to Checkout &raquo;</a>
  81. </big>
  82.  
  83. </form>
  84.  
  85. <?php else: ?>
  86. <p class="warning">There are currently no items in your shopping cart.</p>
  87. <p><a href="<?php shopp('catalog','url'); ?>">&laquo; Continue Shopping</a></p>
  88. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement