# mageplaza/module-ajax-layered-navigation

> Magento 2 Ajax Layered Navigation Extension

`composer require mageplaza/module-ajax-layered-navigation`

Canonical URL: https://packagento.com/mageplaza/module-ajax-layered-navigation

## At a glance

- **Vendor**: mageplaza (https://packagento.com/mageplaza.md)
- **Latest version**: 4.1.5 — released 2026-06-15
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/mageplaza/module-ajax-layered-navigation and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require mageplaza/module-ajax-layered-navigation:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Magento 2 Ajax Layered Navigation Extension

## README


Product filtering is one of the most used features which every customer craves on your online store. To clarify, product filtering is an application that buyers select one or multiple product attributes to search for specific products which match their needs.

On an online store which there is no existence of shopping assistants, customers need nothing but an effective product filtering/searching tool. It would seem strange if your Magento 2 store had no **Layered Navigation** because other e-commerce websites, today, are even trying to enhance their filtering systems to optimize UX on their platforms.

To boost filtering experience for buyers, [Ajax Layered Navigation extension for Magento 2](https://www.mageplaza.com/magento-2-ajax-layered-navigation/) allows filtered products to appear immediately after every single filtering action. Hence, there is no seem-to-be-painfully-long waiting time between each filter, and customers will be more likely to enjoy their time shopping on your store. 


### 1. Documentation

- [Landing Page](https://github.com/mageplaza/magento-2-ajax-layered-navigation)
- [Installation guide](https://www.mageplaza.com/install-magento-2-extension/)
- [User Guide](https://docs.mageplaza.com/ajax-layered-navigation/index.html)
- [Get Support](https://github.com/mageplaza/magento-2-ajax-layered-navigation/issues)


### 2. FAQs

- **Q: I got an error: Mageplaza_Core has been already defined**

- A: Read solution: https://github.com/mageplaza/module-core/issues/3

- **Q: Is Mageplaza Ajax Layered Navigation extension compatible with Layered Navigation for Magento 2?**

- A: Yes! Ajax Layered Navigation extension is fully compatible with all packages of [Magento 2 Layered Navigation Ultimate](https://www.mageplaza.com/magento-2-layered-navigation-extension/). This compatibility helps enhance UX for shoppers at the highest level.


### 3. How to install Ajax Layered Navigation extension for Magento 2

#### Install via composer (recommend)

Run the following command in Magento 2 root folder:

With Marketing Automation (recommend):
```
composer require mageplaza/module-ajax-layered-navigation mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
```

Without Marketing Automation:
```
composer require mageplaza/module-ajax-layered-navigation
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
```

### 4. Ajax Layered Navigation highlight features
#### Enhance UX by Ajax Technology

Visually, Ajax plays an amazing role in your store UX improvement because of many advantages. Ajax, according to [Sequetech](https://www.seguetech.com/ajax-technology/), is a method which helps to exchange and update only one or several parts of a web page without reloading the whole site. As a result, the page loading speed is cut down optimally, and this allows your online shoppers to avoid unnecessary waiting time. 

**Ajax Layered Navigation** is also an answer to the question “How to keep your clients on your store when the internet connection sucks”. They will no longer need to wait for all the data to be loaded before performing any of other actions on the page.

As **Ajax Layered Navigation** enables pages to prevent performing a full postback, filtering products are more responsive, faster and way more user-friendly. This is how shopping experience is boosted.

#### Lightening-fast Ajax Navigation

Filtered products are loaded and displayed nearly immediately after a single filtering performance without waiting for other parts of the page to be reloaded. This allows the important content, which includes products, product images, and other product info, to show up first, and to be ready for buyers to perform further actions.

**Ajax Layered Navigation** saves a bunch of time for customers. Buyers do not even have to hit any button to start loading filtering results because they are automatically loaded after every single filtering act.  

#### Ajax Add to Wishlist

**Magento 2 Ajax Layered Navigation extension** allows logged-in customers add products to their wishlist, yet still stay on the page without being redirected to the wishlist page.

#### Compatible with Layered Navigation

**Mageplaza Ajax Layered Navigation extension** is fully compatible with all packages of **Magento 2 Layered Navigation Ultimate**. This feature implemented to **Mageplaza Layered Navigation module** is a perfect solution to boost shopping experience to the highest level. 

Even when shopper performs multi-filtering, Ajax Layered still supports to display results nicely, smoothly and lightening-fast.

### 5. Ajax Layered Navigation User Guide

**Ajax Layered Navigation** features are added to filters and page blocks, which assists users to select each attribute from filters and various categories without reloading the entire page. As a result, it will enhance the user experience, reduce response and server uploading time. This is the new feature of **Magento 2 Ajax Layered Navigation** which fully compatible with **Layered Navigation Ultimate**.

The Ajax Layered Navigation tutorial of Mageplaza below will provide detailed instruction on how to use for user interface and how to configure on the admin backend.


#### How to Config Magento 2 Ajax Layered Navigation

From the admin panel, make your way to ``Mageplaza > Layered Navigation > Configuration``

![How to Config M2 Ajax Layered Navigation](https://i.imgur.com/lKM4Yiz.png)

![Magento 2 2 Ajax Layered Navigation configuration](https://i.imgur.com/Opo6NTd.png)

![Magento 2 layered navigation Free](https://i.imgur.com/8d0Jd3F.gif)

Besides, Ajax Layered supports the functions of Add to wishlist by Ajax for logged-in customers. 
After clicking on Add to wishlist icon on Category Page, customers can continue viewing other products without being navigated to Wishlist Page. 

![ajax layered navigation

_(README truncated for .md surface. Full README on https://packagento.com/mageplaza/module-ajax-layered-navigation.)_

## Changelog

CHANGELOG: https://www.mageplaza.com/releases/ajax-layered-navigation

## Recent Versions

| Version | Released |
|---|---|
| 4.1.5 | 2026-06-15 |
| 4.1.4 | 2025-04-17 |
| 4.1.3 | 2025-02-17 |
| 4.1.2 | 2024-05-28 |
| 4.1.1 | 2024-05-04 |
| 4.1.0 | 2024-01-05 |
| 4.0.5 | 2022-05-30 |
| 1.0.9 | 2022-05-30 |
| 4.0.4 | 2022-02-10 |
| 1.0.8 | 2022-02-09 |

Showing 10 of 22 versions. Full release history on https://packagento.com/mageplaza/module-ajax-layered-navigation.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| mageplaza/module-core | ^1.5.13 |

## Quality

Latest release (4.1.5) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 46 | 46 warnings (ruleset: Magento2) — 24 auto-fixable with phpcbf |
| PHPMD | Warning | 2 | 2 rule violations (UnusedFormalParameter:2) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 58 | 58 | – | – |
| 2.4.8 | – | 58 | 58 | – |
| 2.4.9 | – | – | 56 | 56 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | not tested | – |
| 2.4.9 | – | – | Pass | Pass |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["mageplaza/module-ajax-layered-navigation"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

mageplaza is a Magento 2 vendor on Packagento. See https://packagento.com/mageplaza.md for their full catalogue.

