【问题标题】:Magento; Display more products per page in one categoryMagento;在一个类别中每页显示更多产品
【发布时间】:2012-03-14 09:19:55
【问题描述】:

我将网站设置为每页显示 3 个项目,我想只设置一个类别以在一页中显示所有项目。任何帮助,将不胜感激。我尝试了Product grid 4 columns and certain pages 5 column with two rows of full products, how? 中建议的解决方案,但它对我不起作用。任何帮助将不胜感激。

谢谢,

切斯基

【问题讨论】:

    标签: magento


    【解决方案1】:

    每个类别都有自己的句柄。因此,例如对于 id 为 10 的类别,您将拥有

    category_10
    

    句柄。

    所以我建议编写一个特定的句柄和自定义模板或布局更新。

    <category_10>
        ....<!-- Here you should specify template which will show all rpoducts or specify custome layout xml settings. -->
    </category_10>
    

    【讨论】:

    • 嗯,这应该是 local.xml,或者在管理员中,如果我没记错的话,每个类别都有布局更新字段。
    • 我现在看到自定义布局中的 xml 更新正在相应地调整类别。问题是它仅在我导航到该类别时显示更改。但是,我将类别设置为不显示在导航菜单上,而是加载一个显示在主页和类别页面底部的滑块。有没有办法让滑块显示所有产品,即使页面的其余部分每页只显示三个?
    • 我的问题在下面的线程stackoverflow.com/questions/2854110/…解决了
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-01
    相关资源
    最近更新 更多