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

  • 相关阅读:
    2019牛客暑期多校训练营(第六场)
    2019牛客暑期多校训练营(第五场)
    2019牛客暑期多校训练营(第四场)
    2019牛客暑期多校训练营(第三场)
    Codeforces Round #554 (Div. 2) C. Neko does Maths (数论 GCD(a,b) = GCD(a,b-a))
    Codeforces Round #486 (Div. 3) C "Equal Sums" (map+pair<>)
    Count New String
    【模板】后缀自动机 (SAM)
    Watchcow
    二次剩余
  • 原文地址:https://www.cnblogs.com/focai/p/3889640.html
Copyright © 2011-2022 走看看