Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7880065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:03:15+00:00 2026-06-03T04:03:15+00:00

I have a problem with Magento pagination. The prudct list page i call by

  • 0

I have a problem with Magento pagination.

The prudct list page i call by my XML is:

    <block type="catalog/product_list" name="categorieen" as="categorieen" translate="label" template="page/html/categorieen.phtml">
        <label>Categorieën</label>
    </block>

The code of my product list page is:

    <div id="products">
<?php $_productCollection=$this->getLoadedProductCollection();?>


    <?php // Grid Mode ?>

    <?php $_collectionSize = $_productCollection->count() ?>
    <?php $_columnCount = $this->getColumnCount(); ?>
    <?php $i=0; foreach ($_productCollection as $_product): ?>
         <?php

         $pic = $this->helper('catalog/image')->init($_product, 'thumbnail')->keepFrame(false)->resize(170);
         ?>
         <a href="<?php echo $this->getAddToCartUrl($_product) ?>">
         <div class="block_prod">
           <div class="block_image_prod"><img src="<?php echo $pic; ?>"></div>
           <div class="block_title_prod"><h2><?php echo strtoupper($this->htmlEscape($_product->getName())); ?></h2></div>
        </div>
        </a>
        <?php $i++; endforeach ?>


<?php 

/*
define('MAGENTO', realpath(dirname(__FILE__)));
require_once MAGENTO.'/app/Mage.php';
Mage::app();*/

/* Provide a known category id that has children as a test */
$_cat = new Mage_Catalog_Block_Navigation();
$curent_cat = $_cat->getCurrentCategory();
$curent_cat_id = $curent_cat->getId();

$id = $curent_cat_id;

/* Load category by id*/
$cat = Mage::getModel('catalog/category')->load($id);


/*Returns comma separated ids*/
$subcats = $cat->getChildren();

//Print out categories string
#print_r($subcats);

foreach(explode(',',$subcats) as $subCatid)
{
  $_category = Mage::getModel('catalog/category')->load($subCatid);
  if($_category->getIsActive() && !$_category->getIncludeInMenu())
  {
    $caturl     = $_category->getURL();
    $catname     = $_category->getName();
    if($_category->getImageUrl())
    {
      $catimg     = $_category->getImageUrl();
    }
?>
         <a href="<?php echo $caturl; ?>">
         <div class="block_prod">
           <div class="block_image_prod"><img src="<?php  echo $catimg; ?>"></div>
           <div class="block_title_prod"><h2><?php echo strtoupper($catname); ?></h2></div>
        </div>
        </a>

<?php    

    }
}?>
</div>
    <div i="toolbar-bottom">
<?php echo $this->getToolbarHtml(); ?>
    </div>

On my product page i included the toolbar with

<?php echo $this->getToolbarHtml(); ?>

But i don’t get an pagination like

1-2-3-4...12

I only get :

Show 30 per page

Is there an solution fot this? Thank you very much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:03:20+00:00Added an answer on June 3, 2026 at 4:03 am

    If you look in the default catalog.xml you will see that the toolbar is included as follows:

    <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
        <block type="page/html_pager" name="product_list_toolbar_pager"/>
    </block>
    

    Have you included it in a similar way?

    The other place to look is is toolbar.phtml to see if everything you require is included there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with a magento installation. I used Magento ver. 1.5.0.1, community
I have found a slight problem within Magento, to do with the shopping cart.
Building a website using a PHP based Ecommerce product Magento. The problem I have
I have written a xml/php document that is pulling from a Magento Commerce database,
I have a problem with Magento. My admin part doesn't work because here is
I have problem with tooltips on my magento website, I need to have one
I have a weird problem with Magento cache. I have an extension that have
I have this problem with Headers already sent with Magento. I get this error:
I have no problem importing simple products using Magento Core API (SOAP). How can
I have a problem with getting dropdown menu to appear in Magento when using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.