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首页产品/广告图片等模块信息就会生效了,

  • 相关阅读:
    448. Find All Numbers Disappeared in an Array
    447. Number of Boomerangs
    441. Arranging Coins
    438. Find All Anagrams in a String
    437. Path Sum III
    434. Number of Segments in a String
    422. Valid Word Square
    415. Add Strings
    414. Third Maximum Number
    [codility]Array-closest-ascenders
  • 原文地址:https://www.cnblogs.com/focai/p/3889640.html
Copyright © 2011-2022 走看看