Files
Kenneth Reitz 29b20bfff0 Import
2011-01-15 22:35:01 -05:00

98 lines
5.9 KiB
PHP

<?php
/**
** WARNING! DO NOT EDIT!
**
** These templates are part of the core Shopp files
** and will be overwritten when upgrading Shopp.
**
** For editable templates, setup Shopp theme templates:
** http://docs.shopplugin.net/Setting_Up_Theme_Templates
**
**/
?>
<form action="<?php shopp('checkout','url'); ?>" method="post" class="shopp" id="checkout">
<?php shopp('checkout','cart-summary'); ?>
<?php if (shopp('cart','hasitems')): ?>
<?php shopp('checkout','function'); ?>
<ul>
<?php if (shopp('customer','notloggedin')): ?>
<li>
<label for="login">Login to Your Account</label>
<span><?php shopp('customer','account-login','size=20&title=Login'); ?><label for="login">Email</label></span>
<span><?php shopp('customer','password-login','size=20&title=Password'); ?><label for="password">Password</label></span>
<span><?php shopp('customer','submit-login','value=Login'); ?></span>
</li>
<li></li>
<?php endif; ?>
<li>
<label for="firstname">Contact Information</label>
<span><?php shopp('checkout','firstname','required=true&minlength=2&size=8&title=First Name'); ?><label for="firstname">First</label></span>
<span><?php shopp('checkout','lastname','required=true&minlength=3&size=14&title=Last Name'); ?><label for="lastname">Last</label></span>
<span><?php shopp('checkout','company','size=22 &title=Company/Organization'); ?><label for="company">Company/Organization</label></span>
</li>
<li>
</li>
<li>
<span><?php shopp('checkout','phone','format=phone&size=15&title=Phone'); ?><label for="phone">Phone</label></span>
<span><?php shopp('checkout','email','required=true&format=email&size=30&title=Email'); ?>
<label for="email">Email</label></span>
</li>
<?php if (shopp('customer','notloggedin')): ?>
<li>
<span><?php shopp('checkout','password','required=true&format=passwords&size=16&title=Password'); ?>
<label for="email">Password</label></span>
<span><?php shopp('checkout','confirm-password','required=true&format=passwords&size=16&title=Password Confirmation'); ?>
<label for="email">Confirm Password</label></span>
</li>
<?php endif; ?>
<li></li>
<?php if (shopp('checkout','shipping')): ?>
<li class="half" id="billing-address-fields">
<?php else: ?>
<li>
<?php endif; ?>
<label for="billing-address">Billing Address</label>
<div><?php shopp('checkout','billing-address','required=true&title=Billing street address'); ?><label for="billing-address">Street Address</label></div>
<div><?php shopp('checkout','billing-xaddress','title=Billing address line 2'); ?><label for="billing-xaddress">Address Line 2</label></div>
<div class="left"><?php shopp('checkout','billing-city','required=true&title=City billing address'); ?><label for="billing-city">City</label></div>
<div class="right"><?php shopp('checkout','billing-state','required=true&title=State/Provice/Region billing address'); ?><label for="billing-state">State / Province</label></div>
<div class="left"><?php shopp('checkout','billing-postcode','required=true&title=Postal/Zip Code billing address'); ?><label for="billing-postcode">Postal / Zip Code</label></div>
<div class="right"><?php shopp('checkout','billing-country','required=true&title=Country billing address'); ?><label for="billing-country">Country</label></div>
<?php if (shopp('checkout','shipping')): ?>
<div class="inline"><?php shopp('checkout','same-shipping-address'); ?></div>
</li>
<li class="half right" id="shipping-address-fields">
<label for="shipping-address">Shipping Address</label>
<div><?php shopp('checkout','shipping-address','required=true&title=Shipping street address'); ?><label for="shipping-address">Street Address</label></div>
<div><?php shopp('checkout','shipping-xaddress','title=Shipping address line 2'); ?><label for="shipping-xaddress">Address Line 2</label></div>
<div class="left"><?php shopp('checkout','shipping-city','required=true&title=City shipping address'); ?><label for="shipping-city">City</label></div>
<div class="right"><?php shopp('checkout','shipping-state','required=true&title=State/Provice/Region shipping address'); ?><label for="shipping-state">State / Province</label></div>
<div class="left"><?php shopp('checkout','shipping-postcode','required=true&title=Postal/Zip Code shipping address'); ?><label for="shipping-postcode">Postal / Zip Code</label></div>
<div class="right"><?php shopp('checkout','shipping-country','required=true&title=Country shipping address'); ?><label for="shipping-country">Country</label></div>
</li>
<?php else: ?>
</li>
<?php endif; ?>
<li></li>
<?php if (shopp('checkout','billing-required')): ?>
<li>
<label for="billing-card">Payment Information</label>
<span><?php shopp('checkout','billing-card','required=true&size=30&title=Credit/Debit Card Number'); ?><label for="billing-card">Credit/Debit Card Number</label></span>
<span><?php shopp('checkout','billing-cardexpires-mm','size=4&required=true&minlength=2&maxlength=2&title=Card\'s 2-digit expiration month'); ?> /<label for="billing-cardexpires-mm">MM</label></span>
<span><?php shopp('checkout','billing-cardexpires-yy','size=4&required=true&minlength=2&maxlength=2&title=Card\'s 2-digit expiration year'); ?><label for="billing-cardexpires-yy">YY</label></span>
<span><?php shopp('checkout','billing-cardtype','required=true&title=Card Type'); ?><label for="billing-cardtype">Card Type</label></span>
</li>
<li>
<span><?php shopp('checkout','billing-cardholder','required=true&size=30&title=Card Holder\'s Name'); ?><label for="billing-cardholder">Name on Card</label></span>
<span><?php shopp('checkout','billing-cvv','size=7&minlength=3&maxlength=4&title=Card\'s security code (3-4 digits on the back of the card)'); ?><label for="billing-cvv">Security ID</label></span>
</li>
<?php endif; ?>
<?php shopp('checkout','billing-xco'); ?>
</ul>
<br class="clear" />
<p class="submit"><?php shopp('checkout','submit','value=Submit Order'); ?></p>
<?php endif; ?>
</form>