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
Can't connect to printer on Windows 7 PC
insert current filename as variable into href statement
Adding sound to bouncing ball with AS3
Can I purge trash on exit?
VBS persistant drive mapping
Change Color Category to Appointment in VBA
How to sort sites in history as last used in IE 8?
div height worls in everything else but IE? WHY?
Set up a Site-To-Site VPN between 2 CISCO ASA 5505
C# book or link having Java perspective?