Microsoft
Software
Hardware
Network
Question : magento limiting number of returned items in product collection call
Hi,
Im trying to limit the number of returned results manually in a copy of the list.phtml template, but its turning out to be alot harder than I anticipated.
Ive tried manually setting the collection size, but ya once again nothing working. Can someone show me how to do this? Would be nmuch appreciated!
Answer : magento limiting number of returned items in product collection call
Hey lexusgs430,
Probably calling the setPage() function on the product collection will solve your problem.
The function can be called as below.
$this->_productCollection->s
etPage(1, 6);
Thanks
1:
$this->_productCollection->setPage(1, 6);
Random Solutions
How do I delete all Outlook (2010) message prior to this year?
Word 2010 Save As PDF blue background
Citrix Session info
How can I look up the Exchange Proxy settings within Exchange Server 2003 so that I can enter this info into Outlook 2007 to establish http Exchange proxy settings
Copy Files From Source Directory To Local Directory Using VBA
No sound on pc after using HDMI cable
Mofify the query
.htaccess Redirect Folder BUT Keeping Additional Strings / Variables?
Automated Authentication
Print email attachments from inbox folder