<?php
/**
 * aheadWorks Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://ecommerce.aheadworks.com/LICENSE-M1.txt
 *
 * @category   AW
 * @package    AW_Mobile
 * @copyright  Copyright (c) 2010-2011 aheadWorks Co. (http://www.aheadworks.com)
 * @license    http://ecommerce.aheadworks.com/LICENSE-M1.txt
 */
?>
<?php $_product = $this->getProduct() ?>
<?php if($_product->isSaleable()): ?>
<div class="product-action">
<div class="product-addtocart">
    <ul class="">
        <li class="first">
            <?php if (!$_product->isGrouped()): ?>
            <span id="product-price-<?php echo $_product->getId(); ?>_clone" class="price"><?php echo Mage::app()->getStore()->convertPrice( $_product->getFinalPrice(), true ); ?></span>
            <?php endif; ?>
        </li>
        <li class="middle">
            <div class="qty-box">
                <fieldset class="add-to-cart-box">
                    <legend><?php echo $this->__('Add Items to Cart') ?></legend>
                    <?php if(!$_product->isGrouped()): ?>
                    <span class="qty-box"><label for="qty"><?php echo $this->__('Qty') ?>:</label>
                    <input name="qty" type="text" class="input-text qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>" /></span>
                    <?php endif; ?>
                </fieldset>
            </div>
        </li>
        <li class="last">
            <a href="#" class="button cart red" onclick="productAddToCartForm.submit(); return false;" ><?php echo $this->__('Add to Cart') ?></a>
        </li>
    </ul>
    <div class="clear"></div>
</div>
</div>
<?php endif; ?>
