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 Items</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','show=selected'); ?>
- <?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',array('before' => ' — ')); ?></strong></td></tr>
- <?php endwhile; ?>
- <tr class="totals">
- <td colspan="2" rowspan="4">
- <p>All products will be sent out via Fedex Ground and<br />are expected to ship within 3-5 business days.</p>
- <p>Ordering more than 3 items? Call us to discuss discounts.</p>
- </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','needs-shipped')): ?>
- <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>
- </table>
- <div id="cart-inputs">
- <h6>Enter Your Zip Code To Estimate Shipping & Taxes:</h6>
- <?php shopp('cart','shipping-estimates','postcode=true'); ?>
- <?php shopp('cart','update-button','value=Preview Shipping and Taxes'); ?>
- <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'); ?>
- </div>
- <big id="cart-bottom">
- <a href="http://www.bandstorage.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="http://www.bandstorage.com" class="left">« Continue Shopping</a></p>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement