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
Why don't I get a view when I create a tab bar application?
Microsoft Excel - Change a Named Range With Code
Is it possible to have a WHERE clause in a Union Select Query?
Create bookmark for the entire penultimate section
xmax (column_name for (string_value))
SBS 2003 - SQL Express 2005 - Presenting Error 17137 approx every second
Move domain of virtual servers
DELPHI - Import file .erart
When trying to install Windows XP SP3, I get access denied error.
How to write a line to a text file without a chr(13) & chr(10)