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

60 lines
1.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
**
**/
?>
<?php shopp('catalog','breadcrumb')?>
<?php if (shopp('product','found')): ?>
<h3><?php shopp('product','name'); ?></h3>
<p class="headline"><big><?php shopp('product','summary'); ?></big></p>
<?php shopp('product','gallery'); ?>
<?php if (shopp('product','onsale')): ?>
<h3 class="original price"><?php shopp('product','price'); ?></h3>
<h3 class="sale price"><?php shopp('product','saleprice'); ?></h3>
<?php if (shopp('product','has-savings')): ?>
<p class="savings">You save <?php shopp('product','savings'); ?> (<?php shopp('product','savings','show=%'); ?>)!</p>
<?php endif; ?>
<?php else: ?>
<h3 class="price"><?php shopp('product','price'); ?></h3>
<?php endif; ?>
<?php if (shopp('product','freeshipping')): ?>
<p class="freeshipping">Free Shipping!</p>
<?php endif; ?>
<form action="<?php shopp('cart','url'); ?>" method="post" class="shopp product">
<?php if(shopp('product','has-variations')): ?>
<ul class="variations">
<?php shopp('product','variations','mode=multiple&label=true&defaults=Select an option&before_menu=<li>&after_menu=</li>'); ?>
</ul>
<?php endif; ?>
<p><?php shopp('product','quantity','class=selectall&input=menu'); ?>
<?php shopp('product','addtocart'); ?></p>
</form>
<?php shopp('product','description'); ?>
<?php if(shopp('product','has-specs')): ?>
<dl class="details">
<?php while(shopp('product','specs')): ?>
<dt><?php shopp('product','spec','name'); ?>:</dt><dd><?php shopp('product','spec','content'); ?></dd>
<?php endwhile; ?>
</dl>
<?php endif; ?>
<?php else: ?>
<h3>Product Not Found</h3>
<p>Sorry! The product you requested is not found in our catalog!</p>
<?php endif; ?>