【问题标题】:Magento Go Home Page(CMS) Product Layout Display List ViewMagento Go Home Page(CMS) 产品布局显示列表视图
【发布时间】:2013-09-01 10:46:30
【问题描述】:

我在 Magento Go 我的网上商店主页(CMS)中创建网上商店包含 3 列布局

布局更新 XML 如下。

<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 layout product magento-go


    【解决方案1】:

    转到catalog/product/new.phtml 并更改css 类和id,可能会对您有所帮助

    【讨论】:

    • 感谢您的建议,但在 Magento Go 中,我们无法编辑任何类型的文件...
    • @BhargavPatel 对错误的建议感到抱歉,但您可以使用主题的自定义 css 编辑器覆盖使用的类和 id 再见
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多