Domanda

Need help removing the following from beneath the Add to Cart. Thanks.

enter image description here

        <?php if (!$this->hasOptions()):?>
            <div class="add-to-box">
                <?php if($_product->isSaleable()): ?>
                    <?php echo $this->getChildHtml('addtocart') ?>
                    <?php if( $this->helper('wishlist')->isAllow() || 
                $_compareUrl=$this->helper('catalog/product_compare')-
                >getAddUrl($_product)): ?>
                        <span class="or"><?php echo $this->__('OR') ?>
                </span>
                    <?php endif; ?>
                <?php endif; ?>
                <?php echo $this->getChildHtml('addto') ?>
            </div>
            <?php echo $this->getChildHtml('extra_buttons') ?>
        <?php elseif (!$_product->isSaleable()): ?>
            <div class="add-to-box">
                <?php echo $this->getChildHtml('addto') ?>
            </div>
        <?php endif; ?>
È stato utile?

Soluzione

remove this code in your view.phtml

 <?php echo $this->getChildHtml('addto') ?>

or Remove this Block in your local.xml

<remove name="addto" />
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top