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:

  1. Navigate to System -> Configuration -> Advanced tab. Set ‘Mage_Tag’ to ‘Disable’Ж
  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:
    <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

Magento 移除标签 How to remove “Tags” block from a product page相关推荐

  1. jQuery unbind 删除绑定事件 / 移除标签方法

    jQuery unbind 删除绑定事件 unbind([type],[data]) 是 bind()的反向操作,从每一个匹配的元素中删除绑定的事件.如果没有参数,则删除所有绑定的事件.你可以将你用b ...

  2. notepad中html自动补齐和标签,在Notepad ++中显示不匹配的html标签(Show unmatched html tags in Notepad++)...

    在Notepad ++中显示不匹配的html标签(Show unmatched html tags in Notepad++) 有没有办法在Notepad ++中突出显示不匹配的HTML标签? 例如, ...

  3. 常用Java注释标签(Java comment tags)

    常用Java注释标签(Java comment tags) @author  作者 适用范围:文件.类.方法 (*多个作者使用多个@author标签标识,java doc中显示按输入时间顺序罗列.) ...

  4. Magento: 根据产品属性加载产品信息 Load A Category or Product by an Attribute

    Load a Product by ID <?php// get product model by product id, assuming you have known product id, ...

  5. jquery移除标签

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> ...

  6. list中移除元素:用remove(i)方法遇到的坑以及替代方法

    代码如下: for (int i = 0; i < organDtos.size(); i++) {if(organDtos.get(i)!=null && organDtos. ...

  7. 重构第15天 移除重复的代码(Remove Duplication)

    理解:移除重复的代码,顾名思义就是把多处重复的代码搬移到一个公共的地方,来减少代码量,提高代码可维护性. 详解:看下面的例子就很容易理解 重构前code 1 using System; 2 using ...

  8. android json html标签,Android: Parsing HTML tags in JSON

    问题 can anybody help me parsing HTML tags in JSON? I got tags like , , etc. on the values of my JSON ...

  9. js移除标签属性的方法

    item=driver.find_element_by_xpath('/html/body/div[2]/div[1]/div/div/i[1]') driver.execute_script('ar ...

最新文章

  1. 在linux(centos7)下本地仓库的搭建
  2. 服务器开发修改用户密码功能,更改服务器用户密码
  3. input type 属性
  4. 网络工程师成长日记365-IBIS西安工程回忆录
  5. B2C Opinions
  6. MySQL分组查询—添加筛选的总结
  7. Could not delete .........May be locked by another process.
  8. android webview权限申请_android - 在运行时向摄像机请求WebView权限 - 堆栈内存溢出...
  9. js之base64上传图片
  10. 前端的常见的面试试题
  11. jQuery实现textarea高度根据内容自适应
  12. 十、IO输入输出流,装饰模式
  13. ARKit玩起来 - AR预览唱片-史小川-专题视频课程
  14. windows xp 下载老版本的chrome浏览器
  15. C# WinForm 使用SMS接口发送手机验证码+图形验证码+IP限制
  16. React React-Redux Redux
  17. 你安全吗?丨通过IP地址如何查到实际地址?
  18. 五年级下册计算机知识点,五年级下册信息技术知识点(教材解析泰山版)
  19. 股权激励和员工持股计划有什么不同
  20. 单片机开发用到的intrins.h文件

热门文章

  1. Period II(FZU-1901)
  2. Increasing Frequency(CF-1082E)
  3. 棋盘游戏(HDU-1281)
  4. 信息学奥赛一本通C++语言——1128:图像模糊处理
  5. 信息学奥赛一本通C++语言——1044:判断是否为两位数
  6. 22 PP配置-生产车间控制-定义工单类型
  7. linux 禁用日志,清除linux系统日志,禁用linux系统日志,删除linux日志
  8. js 正则是否包含某些字符串_js 判断字符串中是否包含某个字符串(转载)
  9. dos盘启动计算机,最新万能 DOS 启动盘制作全攻略(软盘+光盘+U盘+硬盘+NTFS+应急实用工具)...
  10. __declspec(dllexport)、__declspec(dllimport)详解