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 getLimit method which accomplishes that. However, page 1 shows products 1-18 and page 2 will show products 21-40 and there is no way to see products #19 and #20.

Did I choose the wrong approach? Or is there a way to change the offset of the pagination?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.