开发者

Magento: Display # of pages in category list page

I'm trying to display the # of pages on the category list page. Something like this:

开发者_如何学Go
<?= Mage::getSingleton('page/html_pager')->getCollection()->getSize()->getLastPageNum(); ?>

Can anyone help me out?


Looks like Magento uses this:

$this->getCollection()->getLastPageNumber();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜