zoukankan      html  css  js  c++  java
  • 如何更改/删除magento首页产品/广告图片等模块信息

    如何更改/删除magento首页产品/广告图片等模块信息,如果只是修改一些简单的地方,例如已经存在

    的左右栏目里面的图片内容等,是很简单的,直接在后台就可以修改的,具体如下:

           如何删除magento首页不需要的信息. 首先登陆后台.CMS=>Manage Pages=>选择edite page=>Home 

    page=>选择custom design. 然后选择相应的模板,选择相应的列数, 编辑里面的内容.

    <reference name=”content”> <block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_new” template=”catalog/product/new.phtml” after=”cms_page”><action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> <block type=”reports/product_viewed” name=”home.reports.product.viewed” alias=”product_viewed” template=”reports/home_product_viewed.phtml” after=”product_new”><action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> <block type=”reports/product_compared” name=”home.reports.product.compared” template=”reports/home_product_compared.phtml” after=”product_viewed”><action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> </reference><reference name=”right”> <action method=”unsetChild”><alias>right.reports.product.viewed</alias></action> <action method=”unsetChild”><alias>right.reports.product.compared</alias></action> </reference>

           保存后.记得清除缓存,刷新首页,你所更改/删除magento首页产品/广告图片等模块信息就会生效了,

  • 相关阅读:
    【51NOD】1135 原根
    RuntimeWarning: More than 20 figures have been opened.
    获取当前文件夹下文件个数
    U盘装win10(我们无法创建新的分区,也找不到现有分区)
    我们无法创建分区也找不到现有的分区
    装系统——出现“invalid partition table”提示的原因
    python帮助文档的浏览
    opencv-python ,CV2读取中文路径和中文名称图片无结果,解决办法
    pyx文件编译
    安装polygon
  • 原文地址:https://www.cnblogs.com/focai/p/3889640.html
Copyright © 2011-2022 走看看