Questions tagged [pagination]

Denotes questions related to collections pagination.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k 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
240 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
40 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
551 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
191 views

Pagination not showing correct number of items

I have this block with pagination: protected function _prepareLayout() { parent::_prepareLayout(); $this->pageConfig->getTitle()->set(__('Table')); ...
2
votes
1answer
781 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
746 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 ...
3
votes
0answers
877 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 ...
2
votes
2answers
1k 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
2k 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
174 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
505 views

Magento2: how to get customer collection using search functionality?

how to get customer collection using search functionality?
1
vote
1answer
453 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
678 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/...
1
vote
2answers
2k 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
807 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
341 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
1answer
982 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
604 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
657 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
667 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
54 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
927 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
455 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
1k 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!
3
votes
1answer
808 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? ...
2
votes
1answer
985 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
1answer
1k views

Magento2 : Disable Pagination on certain condition from Category Page

I want to disable pagination and per page product which display on category page on some condition i.e. if I set cookies than on category page I want to disable pagination from category page otherwise ...
2
votes
0answers
327 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
214 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
158 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
327 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 ...
1
vote
1answer
332 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
892 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
227 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
293 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 $...
2
votes
1answer
3k 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 ...
1
vote
1answer
959 views

Magento2 UI grid same column problem

I have a problem with pagination in UI Component data grid of Magento2. First time it loads page correctly and pagination works. But on clicking "back" button in paginator all rows change their ...
2
votes
1answer
2k views

Hide item count and pagination from category page in Magento2

Is it possible to hide pagination and item count from Magento 2? Preferably only for specific category but if not possible then for all categories... ............
0
votes
1answer
129 views

Magento 1.9 Pagination Issue

Hi I am facing pagination issue please check attachment my source code, if anyone know about how to solve it please help I am really appreciate Website URL is http://komal.com.au/scarves.html ...
0
votes
0answers
66 views

Magento category view drop down pagination?

For example, a drop down on the category page which shows a full numeric list of all of the pages within that category. When one of those numbers are selected, it would then go to that page. Not to be ...
0
votes
1answer
1k views

Magento 1.9 - How does pagination work on category pages

On a category page when I choose to display 12 products per page it still shows all products from that category. Where does this actually get applied to the category product collection? I'm using ...
1
vote
1answer
336 views

Pagination adds additional pages with same products

When I go to some categories on my site and click through to the end of the pagination, it is adding additional pages with the same products. For the categories that this is happening on, I have set ...
5
votes
3answers
6k views

Why is setPageSize() and setCurPag‌​e( ) functions not working with the collection created with \Magento\Framework\Data\CollectionFactory?

This is my block file, everything is working fine except setPageSize() and setCurPage() functions at last. Regardless of these two filters it is allowing all the rows to be fetched. What could be the ...
0
votes
2answers
819 views

How to get collection of pagination in template?

These are my block methods: public function getProductsViewHistory() { $page=($this->getRequest()->getParam('p'))? $this->getRequest()->getParam('p') : 1; $pageSize=($...
2
votes
0answers
491 views

Pagination Not Showing on Category Pages - Magento 1

For some reason, Pagination is not showing on all of our category pages. I've looked at other question on here and from what I've learned you need the page/html_pager block within catalog.xml for the ...
1
vote
1answer
541 views

I need change the pagination url structure, p=2 to page/2

I need to change the structure of the pagination's url to be more friendly, I have tried do it using .htaccess, and I have tested the RewriteRule on online tools. but in my website it always give me ...
0
votes
1answer
30 views

Pagination in product listing page fails

In website on Magento 2.1.5, in any category I have added around 80 products. When I am opening product listing page in any category; default its showing 9 products in grid. If I change limit to 15, ...
1
vote
2answers
2k views

Magento 2 product list page pagination not working

I am using Magento 2.1.5 and and on category listing page i have 48 products but its default display 12 products but not showing the pagination. how to solve it ? default value for product is set 12 ...
2
votes
1answer
106 views

Bug change limit from toolbar advance search collection

i face strange issue using advance search filter. When i select multiselect from advance search they {baseUrl}/catalogsearch/advanced/ when apply search url bocome like this. {baseUrl}/...