Questions tagged [pager]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
96 views

Magento 2 - Pagination not refresh cache

I'm on the category page. When I click on the pagination number, for example the number 2 with the link "www.magento2.com/category?p=2", I see that when clicked the page is never completely ...
user avatar
  • 297
0 votes
1 answer
234 views

Magento 2.3.5: Remove category page bottom toolbar title and filters and keep only pagination

I want to remove the title, filter and sort from the bottom toolbar on the category page and leave only the pager (pagination). My toolbar phtml is located at vendor/vendor_child/Magento_Catalog/...
user avatar
1 vote
0 answers
29 views

Custom collection pager is not shown in magento 2

Custom collection pager is not shown in Magento 2 status.php public function getProduct() { //get values of current page $page=($this->getRequest()->getParam('p'))? $...
user avatar
  • 1,389
0 votes
2 answers
47 views

Set pager default value in product form in adminhtml

I need to set some very high value as default in pager in product grid in adminhtml. Or to disable it whatsoever. Here's excerpt from my product_listing.xml <listingToolbar name="listing_top">...
user avatar
0 votes
1 answer
274 views

How to set pager on ajax call?

How to set pager on ajax call on a custom table.
user avatar
  • 1,331
2 votes
0 answers
263 views

Magento 1.9 pagination not working

Pagination is not working in Magento 1.9, I have checked pagination setting in admin, everything is okay there. The toolbar is showing with "sorter" and "pager" but pagination is not showing. On ...
user avatar
2 votes
0 answers
781 views

How to remove pagination(pager) from My Orders section in My Account (Magento 2)

I am showing all orders, in My orders section of My Account, when the list of orders gets more than 10 Magento creates a pagination(). How to remove that pagination. I am trying to remove pagination ...
user avatar
  • 799
1 vote
1 answer
3k views

Magento 2 pager not working custom collection

In My custom Collection Pager not working Index.php <?php namespace Test\CustomProduct\Block\Index; class Index extends \Magento\Framework\View\Element\Template { protected $_coreRegistry = ...
user avatar
  • 3,796
0 votes
2 answers
2k views

How to remove the bottom toolbar using css in mobile view?

In product listing page there are two toolbars one at the top of list as shown below: another toolbar at bottom of list as shown below: Both of them are has outer div as: <div class="toolbar ...
user avatar
0 votes
1 answer
2k views

Pager not working in Magento 2

I am trying to create a gird with pager in my custom module, but it is showing all products in to one page. For this I have tried below way. Block/InventoryStatus.php <?php namespace Training\...
user avatar
  • 3,896
3 votes
2 answers
7k views

Magento 2 - Element with same id already exists

I'm trying to set the Magento 2 pager on my custom module, my custom module get the product collection and makes some special filters on the collection. I'm able to filter my products, but when I try ...
user avatar
1 vote
1 answer
2k views

Include Toolbar Pager in custom product collection in custom page

I have a custom page where I am listing the custom product collection. I am using the default catalog/product/list.phtml as template to display the page. It's listing fine like the category page. But ...
user avatar
  • 2,025
1 vote
0 answers
84 views

Magento 2.1 : Pager Issue using Controller for frontend

I use below code in block, so pager is working perfect. protected function _prepareLayout() { parent::_prepareLayout(); if ($this->modelFactory->create()) { // ...
user avatar
  • 1,481
0 votes
1 answer
107 views

How do I return a 404 page for pages beyond category pagination pages?

That title sounds confusing, sorry. But basically I have a category grid page, with pagination. So I have pages like: /men/tops/shirts.html /men/tops/shirts.html?p=2 /men/tops/shirts.html?p=3 This ...
user avatar
  • 115
2 votes
1 answer
2k views

Magento 2: get Nextpage, Lastpage Url in list.phtml file

How to get Next page, Last Page url in magento 2? I have try in template file with below codes, <?php $_productCollection = $block->getLoadedProductCollection(); $_helper = $this->helper(...
user avatar
5 votes
5 answers
7k views

Magento 2 - Limit reviews shown on product page

I'm looking for some help with limiting the review list on the product page to 5 reviews at a time. I'm using Magento 2.0.7 and Porto 2.2.1 I found some suggestions on here but they were for Magento ...
user avatar
  • 51
8 votes
2 answers
8k views

Magento 2 : add pager in custom grid at frontend

I have added one grid in customer account and getting collection also.But when I want to add pager in that grid, that time I am getting an error like : SQLSTATE[42S22]: Column not found: 1054 ...
user avatar
  • 1,130
1 vote
2 answers
843 views

Sorting a custom collection with a pager [closed]

I'm currently hacking the Advanced Testimonial Manager plugin to achieve what I need on the website I'm working on. It's a pretty good module but I required pagination rather than all testimonials ...
user avatar
0 votes
2 answers
1k views

Change pager template

I am trying to include a different pager for the bottom toolbar. For this I have changed the template used by the bottom toolbar: <?php echo $this->getToolbarBlock()->setTemplate('catalog/...
user avatar
  • 712
1 vote
1 answer
1k views

How to get total number of pages in list.phtml

In magento 1.9.2.3 at the category of products I have two toolbars. At top toolbar I need only "Previous" and "Next" link. At the bottom toolbar I need "Total of Pages", "1, 2, 3 ... n-th nubmer of ...
user avatar
1 vote
1 answer
766 views

set a product list with pager in ajax action controller

I am trying to set child to another block using the following script : public function refreshlistAction() { $data = $this->getRequest()->getParams(); if (isset($data['delivery'])) { ...
user avatar
1 vote
3 answers
3k views

Trouble removing pager from toolbar in Magento 2

Having trouble removing the pager from the category pages within Magento 2. I extended the catalog module and placed the removal reference inside catalog_category_view.xml. This however does not work, ...
user avatar
0 votes
2 answers
4k views

Limiter per Page is not Working

On Product List page I added a filter Sort By: Newest Products Popularity Name From A-Z Name From Z-A Price - Low to High Price - High to Low everything is functioning properly but comes the ...
user avatar
5 votes
2 answers
1k views

View All Products only shows 3 products

I´m having the issue that if I click "View all" products in my toolbar then what I get back is a category page with the limit of 3 products instead of all. I have checked and I think I know where the ...
user avatar
  • 3,522
0 votes
1 answer
135 views

Magento Pagination

I am working on a Magento theme, so in the product list page I have featured products block and below it a normal product listing with pagination, however what I need, that's when the user click on ...
user avatar
3 votes
2 answers
1k views

Pager not Paging on Custom Category Collection (rest of toolbar OK)

I am displaying a custom product collection in a block that extends the category block. I am using Magento 1.9 and the default template. My problem is that the pager is not working correctly. It ...
user avatar
0 votes
1 answer
302 views

The string "Allproducts" isn't included in the URL Redirect in the pager

In CMS > Pages I've created an all products page. The content has this in it: {{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="100" ...
user avatar
  • 373
1 vote
3 answers
3k views

Set page limit for category and don't allow to change it

I want to set specific page size for one category, I do this in Custom Layout Update this way: <reference name="product_list_toolbar"> <action method="addPagerLimit"><limit>2<...
user avatar
  • 460
1 vote
1 answer
3k views

Search results page - wrong number of products per page

In search results page, I'm not getting the correct number of products on each page. I have set the following in local.xml file: <?xml version="1.0"?> <layout version="0.1.0"> <...
user avatar
  • 581
0 votes
1 answer
260 views

CMS page with article list showing all articles from category without toolbar or pager

I'm almost there, but still have an issue with the display in the frontend. I want to show some special products on the homepage which are linked to a certain category. These products will change ...
user avatar
0 votes
1 answer
8k views

How to add toolbar and pager to custom product collection in magento?

my local/mage/catalog/prodoct/newwall.php protected function _getProductCollection() { if (is_null($this->_productCollection)) { $brand_id = $_GET['brand_id']; $collection = Mage::...
user avatar
  • 693
1 vote
1 answer
527 views

Pager causing Reflected Cross-Site Scripting

I got a PCI compliance report that raised an issue with Reflected Cross-Site Scripting on category pages. On testing it would appear that the 'Items Per Page' drop down can be made to print some ...
user avatar
0 votes
2 answers
8k views

Display pagination in product listing page in toolbar? How active pagination in magento theme ? i am using magento defualt theme ? [closed]

I want pagination in my toolbar in product listing page. what i can change in catalog/product/list/toolbar.phtml and page/html/pager. what do change in admin side for active pagination. any idea?
user avatar
  • 693
2 votes
2 answers
1k views

Where to set getShowAmounts in pager.phtml?

In template/page/html/pager.phtml there is the following line which defines whether to show the item count on the product list toolbar: <?php if($this->getShowAmounts()): ?> Where is ...
user avatar
  • 1,359
2 votes
1 answer
9k views

Display Sort by option on Top and Pagination at bottom

On my product listing page, I need to change the display of Toolbar and Pager. On top, I want to display Sort by option while on bottom I need to display Pagination How can I achieve this ? Please ...
user avatar
  • 529
1 vote
3 answers
6k views

Set product reviews limit and pagination

I have large number of product reviews being displayed on product detail page. I need to count the total number of reviews and set limit on the number of reviews displayed and with pagination. Does ...
user avatar
  • 529
0 votes
3 answers
7k views

PAGINATION : Show First and Last Page at pager / toolbar grid view

at the moment my pager at grid view is like this " 1 2 3 4 5 >" on page 5 it's "< 5 6 7 8 9 >". See Screenshot How can I edit my pager.phtml template to get a result like this : " 1 2 3 4 5 Last >"...
user avatar
4 votes
1 answer
1k views

Using observer, how to get the current pager with loaded product collection

Using an observer how can i get the current pager block with its loaded product collection on a category page? I want to check the total number of pages on a category page before it is loaded.
user avatar