Magento 2 Products Per Page: Selectable and Remembered
SKU: PAGESIZEOPTIONS1
- set products per page per category and store view
- customers choose the list length with a click
- choice is remembered, even across categories
- upper limit and All option controlled in the admin
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Magento 2 Products Per Page: set the list length for every category
With Magento 2 products per page from Mironsoft you define the list length options per category and let customers choose their preferred number. The choice is kept while browsing and stored in the account for logged-in customers. An upper limit protects loading time. The selector works with Alpine.js in the Hyvä theme and needs no extra library.
Options per category
Each category gets its own values, for example 12, 24 and 48 or 60 and 120.
Default value
One default per category and view, separate for grid and list.
Remember the choice
The chosen number applies to all further categories and visits.
All option
Show all products of a category, capped by a fixed upper limit.
Mobile values
Smaller options can apply to smartphones than on desktop.
Account storage
Logged-in customers keep their setting on every device.
Why a fixed value for Magento 2 products per page does not suit everyone
Magento defines the list length values globally. A catalogue with large images needs different values from a table of spare parts. And whoever compares closely wants many products per page, whoever browses on mobile only a few. Merchants therefore search for how to change Magento 2 products per page or set the number per category.
A customer who has chosen 48 products once does not want to set this again in every category. The module remembers the choice and still keeps the lists fast.
Magento 2 products per page by category
In the admin you define global default values and override them per category. A picture-heavy category then shows 12, 24 and 36 products, a spare-parts category 50, 100 and 200. Grid and list view have separate values, and subcategories inherit the setting of the parent category unless you specify otherwise.
- Global values with override per category
- Separate values for grid and list
- Inheritance for subcategories
The choice is stored
When a customer selects a number, the module stores it in a cookie. Logged-in customers also get it in their account, so it applies on a smartphone as well. When the customer switches category, the number is carried over if it is allowed there. If it is not available there, the next larger allowed value applies.
- Cookie for guests, account for logged-in customers
- Carried over to other categories
- Next allowed value as fallback
The All option with an upper limit
The All option shows the entire category on one page. So that loading time does not suffer, an upper limit applies that you set in the admin. If the category exceeds that number, the display stays at the limit and paging continues the list. For search engines the canonical URL points to the default view so no duplicate content arises.
- Upper limit for All in the admin
- Paging continues with a capped display
- Canonical URL to the default view
Configuration in the admin
Under Stores › Configuration › Mironsoft › Page Size Options you enable the module per store view, set global values, default and upper limit and decide whether the choice is stored in the account. A separate set of values can be defined for mobile devices. The label of the selector is translatable.
- Activation per store view
- Global values, default and upper limit
- Own values for mobile devices
Where Magento 2 products per page helps in everyday shopping
Typical situations with different demands on the list.
Spare parts and technology
Customers compare many items in tables. High values such as 100 or 200 save paging.
Fashion and home
Large images need room. Smaller values keep the page fast and the selection easy to survey.
Returning customers
Whoever always wants to see 48 products sets it once and finds it everywhere.
Mobile users
On a smartphone smaller pages are enough, loading quickly with little scrolling.
Magento 2 products per page: standard versus extension
What changes for the list length.
| Topic | Without the module | With Mironsoft Page Size Options |
|---|---|---|
| Values | Global for the whole shop | Per category and view |
| Remembering | Only via the URL | Cookie and customer account |
| Show all | Unrestricted or unavailable | With an upper limit |
| Mobile | Same values as desktop | Own values for mobile devices |
| Search engines | Parameter URLs without a concept | Canonical URL to the default view |
How we set up Magento 2 products per page for you
The process after your order.
Alignment
You name categories, desired values, upper limit and mobile rules.
Installation
We install the module and set up Magento 2 products per page for your store views.
Styling
We adapt the selector in the Hyvä theme to your layout and labels.
Testing
We check remembering, category switches, the All option, paging and the canonical URLs.
Handover
Your team receives a walkthrough of the configuration.
How Magento 2 products per page differs from other modules
Magento 2 products per page controls only the length of the product list. Sorting, filters and product order stay unchanged and can be combined with other modules, for example rotating sort orders or layered navigation.
The module uses Alpine.js in the Hyvä theme and loads no additional library.
No download, but a personal setup
Page Size Options is not listed here as a ready-made download for self-installation. The purchase is an engagement: we contact you after the purchase, install the module in your shop and agree on values, upper limit and storage together with you.
Frequently asked questions
Everything important about options, remembering, show all and the purchase process.
How can I change the number of products per page in Magento 2?
Can I set Magento 2 products per page for individual categories?
Is the customer's choice remembered?
What happens if a value is not allowed in another category?
Can I show all products of a category?
Are there separate values for smartphones?
Does Magento 2 products per page create duplicate content for search engines?
Does Magento 2 products per page work with Hyvä?
Does the module change the sorting?
Can I download and install the module myself?
Magento 2 Products Per Page – Mironsoft Page Size Options