Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pagination]

Denotes questions related to collections pagination.

0
votes
0answers
14 views

Pagination Button in the my order pages are not working magento 2

Pagination button 1,2 next are not working not taking to next page they are appearing like disabled in Magento 2.2.7
0
votes
0answers
24 views

Magento 2.2 Ajax not working on second time in category page

My site was working fine, suddenly the ajax on category pages is not working on second time. On first time it works fine, whether it is pagination or layered navigation but on second time it doesn't ...
0
votes
1answer
38 views

How use Pagination in Custom Product Page

I display custom products in page. use controller ,block and .phtml files define block and template in xml file. Products are showing correctly i use template module/catalog/view/frontend/template\...
0
votes
0answers
8 views

How to set an offset for category pages?

I want the first page of a category product grid to display 18 products, while all other pages should show 20 products. I wrote a Plugin for Magento\Catalog\Block\Product\ProductList\Toolbar's ...
2
votes
0answers
34 views

how to do pagination to display collection at admin panel custom table in magento 2

I'm trying to create a pagination for my collection to display in a .phtml file, but am getting error page Invalid template file: 'Magento_Theme::html/pager.phtml. Here is my code: code/...
0
votes
0answers
12 views

I am looking for a pdf paginator extension

The admin user could upload any kind of pdf files to the store and the user can download it from the frontend and it is possible to read online the pdf using a paginator, like a newspaper or book ...
0
votes
0answers
22 views

Magento 2 : pagination using knockout

I want to develop pagination of custom collection using knockout. How to implement it? Any help would be appreciated. Thanks.
0
votes
0answers
11 views

Which file creates the pagination links in the head. Magento 1.9

I need to know which file creates the pagination links within the head of a Magento 1.9 site as I need to edit them. Template path hints doesn't tell me anything These are the links I mean: <...
2
votes
1answer
75 views

Magento2 Pagination - jump to top of page [closed]

I have problem with next/prev Buttons in Pagination. If user clicks button, it reloads the page (i think) in Ajax at the current page scroll position. Is there any method to force the reload jump to ...
2
votes
0answers
63 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 ...
1
vote
1answer
21 views

Catalog page loads at the middle of the screen when using pagination - M 2.1.15

When I go to page 2 or 3 it takes me to the lower middle half of the page instead of the top of the next page. Is there a way to make it go to the top of the next page instead?
2
votes
0answers
58 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 ...
1
vote
0answers
61 views

Pagination not showing correct number of items

I have this block with pagination: protected function _prepareLayout() { parent::_prepareLayout(); $this->pageConfig->getTitle()->set(__('Table')); ...
1
vote
1answer
99 views

Remove pagination from order listing in frontend customer account?

I want list all the orders in a single page. how I remove pagination from my orders page in my account dashboard.
0
votes
2answers
87 views

Issue in Category page magento 2

I am getting below error in system.log file. main.CRITICAL: Bucket does not exist [] [] My Main issue is in category list page and search result page I have 50 products inside the category and ...
0
votes
0answers
84 views

Magento 2.2.6 Pagination not working in Category pages

We have upgraded Magento 2.2.3 to 2.2.6. After upgrade page filter is not working. It is loading all the products in category page. The drop down still says 9,18,27. But it is displaying all ...
1
vote
2answers
292 views

How to add pagination at top and bottom of the product page in magento 2

Please help on adding pagination at top and bottom of the product page in magento 2 .
0
votes
2answers
210 views

Magento 2 | Adding pagination on custom collection to display «per page» limiter

I have followed this link to show «per page» limiter on frontend. I have done so far is: My Collection: public function getInvoicesCus() { //get values of current page $page=($this->...
0
votes
1answer
46 views

Category pagination URL rewrite

I feel like I'm going around in circles and missing something with a particular Magento 1.9.2 setup. Previously the site used to use URL's for category pagination URL's like : https://www....
0
votes
1answer
169 views

Magento2: how to get customer collection using search functionality?

how to get customer collection using search functionality?
1
vote
1answer
208 views

Is there any way to remove pagination ID from URL?

I'm wondering Like, Is there any way to remove Pagination Page ID from URL? Like, I moved to the second page or any other page during listing page. SO URL will be changed as default behavior of ...
0
votes
1answer
267 views

Magento: How to change the pagination url ?p=1 to ?page=1 in custom module?

I have created a custom module, for pagination added this block: protected function _prepareLayout() { parent::_prepareLayout(); $pager = $this->getLayout()->createBlock('page/...
0
votes
0answers
42 views

How can we Remove pagination indexing in url of magento storefront?

When we move to next page, a pagination index gets appended at the end of url..how can we get rid of it?
1
vote
2answers
441 views

How to add pagination with limit for collections in Magento 2?

I have filtered customer collection and showing in account navigation with one new custom link. upon clicking custom link on left nav i need to show collection on right side with pagination. How this ...
0
votes
0answers
78 views

magento2 orders pagination is not working

I'm loading the magento2 admin role. role user having sales tab access only. when the user-roles sees the orders list page, all orders coming. pagination is not working. anyone, please help me. ...
0
votes
0answers
83 views

Magento 2 category pagination not directing to correct page

On my website the pagination is not working. Clicking on the page numbers adds ?p= to the link, and therefore only redirects to the first category page. Manually entering ?p=2 to the link does work. ...
0
votes
0answers
49 views

Random order with orderRand() but maintain pagination

I have successfully implemented a random sort on a product collection using suggestions provided here magento get products from category, order by rand() and here How is Varien_Db_Adapter_Pdo_Mysql::...
0
votes
0answers
344 views

How to add pagination for custom collection search results in magento 2?

How to add pagination for searched results in magento2?. I have form which will show all results in a page and I have to show 10 results on a page and show pagination. I have followed this how to ...
0
votes
0answers
393 views

Magento pagination how to set page number for custom collection?

I have a custom collection of around 900 wordpress blog posts I have used custom pagination for this custom collection. The problem is, when i click on the pagination button, the pager URL seems to ...
0
votes
1answer
139 views

Magento 2 : how to override pagination in admin panel?

I have created a tab in admin panel and I'm showing my custom grid in that tab. magento2 by default shows 20 records in a grid but I want to show more than 20 records by default. i have found this ...
0
votes
0answers
33 views

Pagination problem in magento custom page

What is problem? Used to shopby extension for brand.
0
votes
1answer
188 views

Product List Toolbar for Wishlist

I want to add the toolbar from the product list to my wishlist to have the pagination and the sorter element. So in my wishlist_index_index.xml I added the block Magento\Catalog\Block\Product\...
0
votes
1answer
279 views

Magento 1.9 custom collection pagination not working in admin grid?

I have created a custom grid to show a monthly wise report, But the pagination is not working with the Varien_Data_Collection . Please find the code snipet below from Grid.php $rows = $...
0
votes
1answer
378 views

Magento 1.9 pagination not working properly

I am working on Magento 1.9 and facing some Issue with the pagination on search page. I have Selected "16" in products per page but it is Showing random number of products on pages. same issue with ...
0
votes
1answer
323 views

Magento 1 Rewrite Pagination url Parameter

for sure this question has been asked so many times in different ways, but i didn't find anything usefull for my case. We have an installation of Magento 1.9.3.6, the main task is to rewrite the ...
0
votes
1answer
43 views

Magento Product Detail Page Pagination

In Magento Product Detail Page Pagination, I want to show prev next pagination in Magento 1. How I can do that?
1
vote
0answers
506 views

How to Implement Ajax Pagination in Custom module

Phtml File $('.pagination a').on('click', function() { var pagNo = $('a').val(); $("#data-loader").css("background", "url("+ajaxloader+") no-repeat"); $("#data-loader")....
0
votes
0answers
258 views

How to make magento core pagination as ajax pagination in a custom module

I am using magento 2.2.2 and I want to implement Ajax pagination in my custom module. Magento has a pagination (getPagerHtml), but it's not implemented using Ajax, and I am trying to implement it ...
1
vote
2answers
552 views

How to disable pagination on mysite.com/checkout/cart/ page?

Doase anybody know how to disable pagination on mysite.com/checkout/cart/ page ? I Want all my cart items to appear on the same page. How to do it using XML config ( if possible ) ? Thanks a lot!
2
votes
1answer
369 views

Pagination not showing on any page with products

I'm at a loss as to what to do next, I've reviewed all of the posts on the site and tried every solution, but still I am unable to see pagination of the products, the toolbar is simply not displaying? ...
1
vote
1answer
524 views

Magento 2: Change per page option for customer, Order & product Admin Grid

As a default, Magento Admin has Paging option as 20, 30, 50,100,200 But I need to change it for Product, Customer & Order Grid. I override the below files: vendor/magento/module-customer/view/...
1
vote
0answers
199 views

Magento 2 Admin Grid per page remove 'Custom' from all Grids

I need to remove the 'Custom' in all Admin Grids. This to avoid a large collection request that probably making website slow. vendor/magento/module-ui/view/base/web/templates/grid/paging/sizes.html ...
0
votes
2answers
119 views

Magento 2: How to add class “paginated” to the body tag if the products are paginated?

I am working on a Magento 2.1.7 shop and I have created a child-theme of Magento Blank. I need to add class "paginated" to the body tag if the products category pages display pagination. I have ...
1
vote
2answers
79 views

Do not display a “per page” select box, if products are not paginated

I am working on a Magento 2.1.7 shop and I have created a child-theme of Magento Blank. The products are 12 per page by default, but the user has the option to show 24 products per page. Some (...
0
votes
0answers
265 views

Magento 1.9.3 Pagination not working

Magento pagination on product list page is not working. When choosing different number of products to show from dropdown list,the pager (screenshot 1,2,3 ...) displying correct, but instead of showing ...
0
votes
1answer
158 views

Pagination missing in Magento 2.1.9 category pages

I've reviewed similar posts about this topic but none seem affiliated. It seems like after I disabled a few products that pagination disappeared. I also cant see pagination options in the backend at ...
1
vote
1answer
522 views

Magento 2.1 : Pagination of product collection

I am working on a custom script (not custom module) where I need to fetch product collection and display 5 products at a time. After displaying 5 products there is a link Next which displays next 5 ...
1
vote
1answer
164 views

implement rel=“next and rel=”prev" magento 1.9

im trying to get a paginated tags as rel="next" and rel="prev" for SEO reasons, but i cant figure it out ive tried this code in the head.phtml: <?php $actionName = Mage::app()->...
0
votes
1answer
231 views

implement rel=“next rel=”prev"

i know that question have been asked here before but i have no solution. im trying to implement pagination rel="next" and rel="prev" and after a lot of research i found this code: <?php $...
1
vote
1answer
2k views

Magento2: How to get total page number of category?

I want to show Title of category page based current page and total page. for example: Category Electronics has total 20 page and i am on 2nd page. I want to show 2 out of 20 pages. I have tried below ...