Tue. Jul 2nd, 2024

11. Magento. How to remove “Tags” block from a product page

1 min read

This tutorial will show you how to remove Tags block from Magento product pageЖ

How_to_remove_the_Tags_block_from_a_product_page_1

There are 2 ways of removing the tagging feature from product pages:

  1. Navigate to System -> Configuration -> Advanced tab. Set ‘Mage_Tag’ to ‘Disable’Ж

    How_to_remove_the_Tags_block_from_a_product_page_21

  2. Open the tag.xml under app/design/frontend/default/themeXXX/layout/ folder.

    Locate this line: ‘catalog_product_view’, you should find it on line 66.

    The entire block should look like this:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    <catalog_product_view translate=”label”>
        <label>Catalog Product View</label>
        <!– Mage_Tag –>
            <reference name=”product.info.additional”>
                <block type=”tag/product_list” name=”product_tag_list” before=”-” template=”tag/list.phtml”>
                <block type=”page/html_wrapper” name=”product.tag.list.list.before” as=”list_before” translate=”label”>
                <label>Tags List Before</label>
                <action method=”setMayBeInvisible”><value>1</value></action>
                </block>
                </block>
            </reference>
    </catalog_product_view>

    Remove the following part of the code:

    1
    2
    3
    4
    5
    6
    <block type=”tag/product_list” name=”product_tag_list” before=”-” template=”tag/list.phtml”>
    <block type=”page/html_wrapper” name=”product.tag.list.list.before” as=”list_before” translate=”label”>
    <label>Tags List Before</label>
    <action method=”setMayBeInvisible”><value>1</value></action>
    </block>
    </block>

    Save the changes. Do not forget to clear Magento cache.

The tags block is no longer on product pages.

July 2024
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031