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 [pager]

The tag has no usage guidance.

2
votes
0answers
82 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 ...
2
votes
0answers
71 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
1answer
1k 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 = ...
0
votes
2answers
594 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 ...
0
votes
1answer
1k 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\...
3
votes
2answers
4k 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 ...
1
vote
1answer
1k 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 ...
1
vote
0answers
81 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()) { // ...
0
votes
1answer
71 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 ...
1
vote
1answer
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(...
5
votes
5answers
4k 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 ...
6
votes
1answer
5k 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 ...
1
vote
2answers
705 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 ...
0
votes
1answer
971 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/...
1
vote
1answer
944 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 ...
1
vote
1answer
607 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'])) { ...
1
vote
3answers
2k 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, ...
0
votes
2answers
2k 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 ...
5
votes
2answers
975 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 ...
0
votes
1answer
117 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 ...
3
votes
2answers
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 ...
0
votes
1answer
301 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" ...
1
vote
2answers
2k 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<...
1
vote
1answer
2k 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"> <...
0
votes
1answer
235 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 ...
0
votes
1answer
7k 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::...
1
vote
1answer
486 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 ...
0
votes
2answers
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?
1
vote
2answers
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 ...
2
votes
1answer
8k 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 ...
1
vote
3answers
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 ...
0
votes
3answers
6k 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 >"...
5
votes
1answer
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.