Remove "product information, reviews, tags" block from product page

  • I am trying to remove a certain block from my product page in Magento, but can't seem to find where I should delete it. I think it's somewhere in the XML files, but since I'm not that good of a web-developer, I figured it's stupid to just try to delete some files.

    In the Magento admin I already disabled the 'tags' function (admin -> system -> configuration -> advanced -> disable Mage_Tag), but I can't find where to delete the entire block.

    The block circled in red in the picture is the block I'm trying to delete. So also 'productomschrijving' and 'extra informatie'.

    The block I'm trying to delete

  • liyakat

    liyakat Correct answer

    6 years ago

    You should have to create local.xml file inside your frontend theme folder app/design/frontend/[your_package]/[your_theme] (if you haven't already)

    And insert the following lines there

    <?xml version="1.0"?>
    
    <layout version="0.1.0">
    
    <catalog_product_view>
        <reference name="product.info.tabs">
            <action method="unsetChild">
                <child>description</child>
            </action>
            <action method="unsetChild">
                <child>additional</child>
            </action>
        </reference>
    </catalog_product_view>
    
    </layout>
    

    you can change your tag name to your product description and extra information tag given in theme.

    Thanks. Only this just removed the tags and product description. The extra information is still showing. Do you perhaps know how this could still appear? Because I'd personally say that that would be removed by product_additional_data

    try to change additional in second remove. hopefully it will work for you

    @Jennie, i am glad to help you.

    How do you remore "review" tab just for certain products ? Like gift cards product ?

    @sagarsapkota, add question instead of comment will do my best to help you

License under CC-BY-SA with attribution


Content dated before 7/24/2021 11:53 AM