Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (shopp('cart','hasitems')): ?>
- <form id="cart" action="<?php shopp('cart','url'); ?>" method="post">
- <big id="cart-top">
- <a href="<?php shopp('cart','referrer'); ?>">« Continue Shopping</a>
- <a href="<?php shopp('checkout','url'); ?>" class="right">Proceed to Checkout »</a>
- </big>
- <?php shopp('cart','function'); ?>
- <table class="cart">
- <tr>
- <th scope="col" class="item">Cart Item(s)</th>
- <th scope="col">Quantity</th>
- <th scope="col" class="money">Item Price</th>
- <th scope="col" class="money">Item Total</th>
- </tr>
- <?php while(shopp('cart','items')): ?>
- <tr>
- <td>
- <a href="<?php shopp('cartitem','url'); ?>"><?php shopp('cartitem','name'); ?></a>
- <?php shopp('cartitem','options'); ?>
- <?php shopp('cartitem','addons-list'); ?>
- <?php shopp('cartitem','inputs-list'); ?>
- </td>
- <td><?php shopp('cartitem','quantity','input=text'); ?>
- <?php shopp('cartitem','remove','input=button'); ?></td>
- <td class="money"><?php shopp('cartitem','unitprice'); ?></td>
- <td class="money"><?php shopp('cartitem','total'); ?></td>
- </tr>
- <?php endwhile; ?>
- <?php while(shopp('cart','promos')): ?>
- <tr><td colspan="4" class="money"><?php shopp('cart','promo-name'); ?> — <strong><?php shopp('cart','promo-discount'); ?></strong></td></tr>
- <?php endwhile; ?>
- <br />
- <h6>What's in your cart:</h6>
- <tr class="totals">
- <td colspan="2" rowspan="5">
- <?php if (shopp('cart','needs-shipping-estimates')): ?>
- <h5>Estimate Shipping For:</h5>
- <?php shopp('cart','shipping-estimates'); ?>
- <?php shopp('customer','shipping-state'); ?>
- <?php endif; ?>
- </td>
- <th scope="row">Subtotal</th>
- <td class="money"><?php shopp('cart','subtotal'); ?></td>
- </tr>
- <?php if (shopp('cart','hasdiscount')): ?>
- <tr class="totals">
- <th scope="row">Discount</th>
- <td class="money">-<?php shopp('cart','discount'); ?></td>
- </tr>
- <?php endif; ?>
- <?php if (shopp('cart','hasshipcosts')): ?>
- <tr class="totals">
- <th scope="row"><?php shopp('cart','shipping','label=Shipping'); ?></th>
- <td class="money"><?php shopp('cart','shipping'); ?></td>
- </tr>
- <?php endif; ?>
- <tr class="totals">
- <th scope="row"><?php shopp('cart','tax','label=Tax'); ?></th>
- <td class="money"><?php shopp('cart','tax'); ?></td>
- </tr>
- <tr class="totals total">
- <th scope="row">Total</th>
- <td class="money"><?php shopp('cart','total'); ?></td>
- </tr>
- <tr class="buttons">
- <td colspan="4"><?php shopp('cart','update-button'); ?></td>
- </tr>
- </table>
- <h6>Got a coupon code? Enter it here:</h6>
- <?php shopp('cart','promo-code','class=promo-input&value=Apply Coupon&title=Enter Any Discount Codes Here'); ?>
- <h6>Shipping Rate Reminder:</h6>
- <p>All products will be sent out via Fedex Ground and are expected to ship within 3-5 business days.</p>
- <big id="cart-bottom">
- <a href="http://pooltees.com" class="left">« Continue Shopping</a>
- <a href="<?php shopp('checkout','url'); ?>" class="right">Proceed to Checkout »</a>
- </big>
- </form>
- <?php else: ?>
- <p class="warning">There are currently no items in your shopping cart.</p>
- <p><a href="<?php shopp('catalog','url'); ?>">« Continue Shopping</a></p>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement