I just wandering on how I can get the…
November 27, 2015
Magento 移除标签 How to remove “Tags” block from a product page
This tutorial will show you how to remove Tags block from Magento product pageЖ
There are 2 ways of removing the tagging feature from product pages:
- Navigate to System -> Configuration -> Advanced tab. Set ‘Mage_Tag’ to ‘Disable’Ж
- 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:
<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:
<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>
The tags block is no longer on product pages.
原文:http://www.templatemonster.com/help/magento-how-to-remove-the-tags-block-from-a-product-page.html
本文:Magento 移除标签 How to remove “Tags” block from a product page