Magento Elasticsuite Ajax
web200/magento-elasticsuite-ajax
Adds AJAX navigation to category pages using Elasticsuite. Enables infinite scrolling and can be configured in the admin panel.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubMagento 2 Elastisuite Ajax Module
Magento 2 Module to add ajax navigation to elasticsuite module
Installation
$ composer require "web200/magento-elasticsuite-ajax":"*"
Features
- Ajax navigation on category pages (Categories / Swatches / List)
- Infinite navigation pages. (Can be enable / disable in Store > Configuration > Elasticsuite > Ajax Settings)
Varnish
In order to cache classic page and xhr request you need to set different cache in varnish. Thanks @mfickers
sub vcl_hash {
...
# Sort AJAX requests distinct from regular requests
if (req.http.X-Requested-With == "XMLHttpRequest"){
hash_data(req.http.X-Requested-With);
}
...
}
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.