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

posted on 2014-08-04 10:57  闪电王国  阅读(554)  评论(0编辑  收藏  举报