Search code examples
xmlmagentolayoutblock

magento remove block in layout.xml


I have tier pricing set up for some items. This template is used on the product view page: catalog/product/view/tierprices.phtml. I am trying to remove this by editing layout.xml with no success. How can I remove this block?


Solution

  • You cannot remove it via layout update. You will have to edit catalog/product/view.phtml file and comment out $this->getTierPriceHtml() line.

    getTierPriceHtml is also called in following template files:

    bundle/catalog/product/view/type/bundle/option/radio.phtml
    bundle/catalog/product/view/type/bundle/option/select.phtml
    catalog/product/view/type/grouped.phtml