Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $this->setPreconfiguredValue(); ?>
- <?php $_product = $this->getProduct(); ?>
- <?php $_associatedProducts = $this->getAssociatedProducts(); ?>
- <?php $_hasAssociatedProducts = count($_associatedProducts) > 0; ?>
- <?php if ($this->displayProductStockStatus()): ?>
- <?php if ($_product->isAvailable() && $_hasAssociatedProducts): ?>
- <p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
- <?php else: ?>
- <p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
- <?php endif; ?>
- <?php endif; ?>
- <?php echo $this->getChildHtml('product_type_data_extra') ?>
- <table class="data-table grouped-items-table" id="super-product-table">
- <col width="5%" />
- <col width="5%" />
- <col width="60%" />
- <col width="5%" />
- <col width="5%" />
- <col width="5%" />
- <col width="5%" />
- <col width="5%" />
- <col width="5%" />
- <col width="5%" />
- <thead>
- <tr>
- <th><?php echo $this->__('Product Name') ?></th>
- <th><?php echo $this->__('CUTTER') ?></th>
- <th><?php echo $this->__('DIAMETER') ?></th>
- <th><?php echo $this->__('CUTTING') ?></th>
- <th><?php echo $this->__('LENGTH') ?></th>
- <th><?php echo $this->__('LENGTH') ?></th>
- <?php if ($this->getCanShowProductPrice($_product)): ?>
- <th class="a-right"><?php echo $this->__('Price') ?></th>
- <?php endif; ?>
- <?php if ($_product->isSaleable()): ?>
- <th class="a-center"><?php echo $this->__('Qty') ?></th>
- <?php endif; ?>
- </tr>
- </thead>
- <tbody>
- <tr>
- <?php if ($_hasAssociatedProducts): ?>
- <?php foreach ($_associatedProducts as $_item): ?>
- <?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
- <td>3.2M4</td>
- <td>3.2mm</td>
- <td>1/8"</td>
- <td>8mm</td>
- <td>5/16"</td>
- <td><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></td>
- <?php if ($this->getCanShowProductPrice($_product)): ?>
- <td class="a-right">
- <?php if ($this->getCanShowProductPrice($_item)): ?>
- <?php echo $this->getPriceHtml($_item, true) ?>
- <?php echo $this->getTierPriceHtml($_item) ?>
- <?php endif; ?>
- </td>
- <?php endif; ?>
- <?php if ($_product->isSaleable()): ?>
- <td class="a-center">
- <?php if ($_item->isSaleable()) : ?>
- <input type="text" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo
- $this->__('Qty') ?>" class="input-text qty" />
- <?php else: ?>
- <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
- <?php endif; ?>
- </td>
- <?php endif; ?>
- </tr>
- <?php endforeach; ?>
- <?php else: ?>
- <tr>
- <td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
- </tr>
- <?php endif; ?>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement