开发者

How to display all products for one perticular category?

I am facing a problem that I am having 3 categories like... 1)A, 2)B and 3)C. Now as per the settings in admin, each category's product listing having pagination but I don't want pagination dependent li开发者_如何学编程sting in category B. Instead I want to display all it's products on one single page.

What should be done for this?

Any Help?


Edit the category in the Magento Admin UI. Find the 'Custom Design' tab and the 'Custom Layout' text area in that tab. Add the following:

<reference name="product_list_toolbar_pager">
    <action method="addPagerLimit" translate="label">
        <mode>list</mode>
        <limit>all</limit>
        <label>All</label>
    </action>
    <action method="setDefaultListPerPage">
        <limit>all</limit>
    </action>
</reference>

NB: This still leaves the pager toolbar for the customer to limit the display and/or sort the results.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜