Skip to main content

Questions tagged [pager]

The tag has no usage guidance.

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

Magento 2 : Pager not work in my custom collection

I have a custom collection for ordered products for a customer. $connection = $this->resourceConnection->getConnection(\Magento\Framework\App\ResourceConnection::DEFAULT_CONNECTION); $...
Mujahidh's user avatar
  • 2,813
2 votes
1 answer
54 views

Showing all links on catalog/seo_sitemap/product/?

Magento 1.9 How do I show all links on that page, without a pager? Is there a setting for that? I dont just want to remove the pager, but show all for example 250 entries on one page. Thanks!
user4095519's user avatar
0 votes
1 answer
485 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/...
user2240778's user avatar
1 vote
0 answers
103 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'))? $...
Divya Sekar's user avatar
  • 1,495
0 votes
2 answers
121 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">...
Vadim Shmyrov's user avatar
0 votes
1 answer
431 views

How to set pager on ajax call?

How to set pager on ajax call on a custom table.
Asad Ullah's user avatar
  • 1,461
2 votes
0 answers
283 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 ...
Tajveez Rehman's user avatar
2 votes
0 answers
981 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 ...
summu's user avatar
  • 847
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 = ...
Magento 2's user avatar
  • 3,834
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 ...
P S's user avatar
  • 1,983
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\...
Bojjaiah's user avatar
  • 3,762
3 votes
2 answers
9k 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 ...
3tech - Alessandro Staffolani's 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 ...
SIBHI S's user avatar
  • 2,055
1 vote
0 answers
87 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()) { // ...
Payal Patel's user avatar
  • 1,511
0 votes
1 answer
125 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 ...
Corey's user avatar
  • 115
2 votes
1 answer
3k 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(...
Rakesh Jesadiya's user avatar
6 votes
6 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 ...
Torben's user avatar
  • 61
8 votes
2 answers
9k 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 ...
Krupali's user avatar
  • 1,150
1 vote
2 answers
873 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 ...
Liam McArthur's 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/...
loeffel's user avatar
  • 722
2 votes
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 ...
John Doe's user avatar
1 vote
1 answer
780 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'])) { ...
Christophe Ferreboeuf's user avatar
1 vote
3 answers
4k 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, ...
themanwhoknowstheman's 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 ...
Andhi Irawan's 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 ...
seb's user avatar
  • 3,572
0 votes
1 answer
140 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 ...
puzzle_fuzzle's user avatar
0 votes
1 answer
306 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" ...
Julian's 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<...
mkutyba's 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"> <...
zekia's user avatar
  • 660
0 votes
1 answer
264 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 ...
Johannes's 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::...
coder's user avatar
  • 713
1 vote
1 answer
543 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 ...
hammygoonan's 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?
coder's user avatar
  • 713
2 votes
2 answers
2k 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 ...
Chris's user avatar
  • 1,389
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 ...
Mark's user avatar
  • 529
1 vote
3 answers
7k 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 ...
Mark's user avatar
  • 529
0 votes
3 answers
8k 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 >"...
user2310852's 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.
Marty Wallace's user avatar