|
Does anyone know how to remove “QTY” field at the bottom for bundle products?
here is what I have in “addtocart.phtml” however I’m not a programmer and don’t know how to make it look for a “bundle” and if bundle don’t show quantity field.
<?php $_product = $this->getProduct() ?>
<?php if($_product->isSaleable()): ?>
<fieldset class="add-to-cart">
<legend><?php echo $this->__('Add Items to Cart') ?></legend>
<?php if(!$_product->isGrouped()): ?>
<label for="qty"><?php echo $this->__('QTY') ?>:</label>
<input type="text" class="input-text qty” name="qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>” />
<?php endif; ?>
<button class="button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Shopping Bag') ?></span></button>
</fieldset>
<?php endif; ?>
|