---
title: Remember a Shopper’s Products per Page Choice
description: "Remember each WooCommerce shopper's products per page choice across pages with cookies or sessions."
url: "https://wpfactory.com/docs/remember-products-per-page-choice/"
updated: "2026-09-26"
category: How to
---

# Remember a Shopper’s Products per Page Choice

## Keep each shopper's page-size choice as they browse

[Number of Products per Page - Pagination Manager for WooCommerce](https://wpfactory.com/item/products-per-page-woocommerce/) remembers a shopper's products per page choice in a cookie, the WooCommerce session, or both. Both are free and on by default. To adjust them, go to WPFactory > Products per Page > Advanced and set Save in cookie, Cookie expiration time, Save in session, and Force session start.

### Where to set this

Go to **WPFactory > Products per Page** (also reachable at **WooCommerce > Settings > Products per Page**), then open the **Advanced** section.

![Products per Page cookie and session options](https://wpfactory.com/wp-content/uploads/Advanced-Options-2-2.png)

### How the value is resolved

On each request the plugin decides how many products to show in this order: a value submitted right now, then the session value, then the cookie value, and finally the Default option. So the most recent choice wins, and a stored choice is used on later visits.

### Cookie and session options

| Setting | Option ID | Default |
| --- | --- | --- |
| Save in cookie | `alg_wc_products_per_page_cookie_enabled` | yes |
| Cookie expiration time (seconds) | `alg_wc_products_per_page_cookie_sec` | 1209600 (14 days) |
| Save in session | `alg_wc_products_per_page_session_enabled` | yes |
| Force session start | `alg_wc_products_per_page_session_force_start` | yes |

### Which to use

- **Cookie:** persists across visits for as long as the expiration time you set. Raise the seconds value for a longer memory, or lower it for a shorter one.
- **Session:** lasts for the WooCommerce session. Enable **Force session start** so a session is created for non-logged-in shoppers, which is needed for the session value to stick.

**Tip:** if a page cache serves the same HTML to everyone, the stored choice may look like it does not apply. Exclude your shop and archive pages from full-page caching, or test while logged out with caching cleared.

### Get more control

Cookie and session storage are free. [Number of Products per Page - Pagination Manager for WooCommerce](https://wpfactory.com/item/products-per-page-woocommerce/) Pro adds an editable options list and a Products per Page widget. [See what Pro unlocks](https://wpfactory.com/item/products-per-page-woocommerce/).

Related articles

- [Show the Products per Page Selector as Radio Buttons](https://wpfactory.com/docs/woocommerce-products-per-page-radio-buttons/)
- [Limit the Products per Page Selector to Specific Pages](https://wpfactory.com/docs/woocommerce-products-per-page-scopes/)
- [General Settings: Products per Page, Positions, Template and Select Options](https://wpfactory.com/docs/products-per-page/)
- [Add the Products per Page Widget (Pro)](https://wpfactory.com/docs/woocommerce-products-per-page-widget/)
- [Products Per Page: Developer Hooks, Filters and Shortcodes Reference](https://wpfactory.com/docs/products-per-page-developer-hooks-filters/)
