Create a file named pagination.phtml in app/design/frontend/rwd/fancydress/template/catalog/product/list

with the folloowing code:

<?php if($this->getCollection()->getSize()): ?>
	<div class="toolbar">
	 <div class="pager">
        <div class="count-container">
            <?php if($this->getLastPageNum()>1): ?>
                <p class="amount amount--has-pages">
                    <?php echo $this->__('%s-%s of %s', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
                </p>
            <?php else: ?>
                <p class="amount amount--no-pages">
                    <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
                </p>
            <?php endif; ?>
        </div>

        <?php echo $this->getPagerHtml() ?>

    </div>
	</div>
<?php endif ?>

and call it with the following code in list page bottom

<?php echo $this->getToolbarBlock()->setTemplate('catalog/product/list/pagination.phtml')->toHtml(); ?>

Categories: Magento

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *