The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

1090 Modules
600 Ready
490 Need Help
🏆 Leaderboard
Actively Maintained v1.0.5

Panth Sale Filter — Hyva Compatibility

mage2kishan/module-sale-filter-hyva

Provides a Hyva-native (Alpine.js + Tailwind, no jQuery) storefront template for the Panth Sale Filter layered-navigation filter, replacing its Luma/Knockout markup on Hyva themes, plus an admin toggle for expanded-by-default rendering.

0
Downloads
0
GitHub Stars
2d ago
Last Release
0
Open Issues
Build Issues
0/3 checks passed

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
PHPStan

Tested on Magento 2.4.9

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.5 on Magento 2.4.9
Jun 8, 2026
v1.0.4 on Magento 2.4.9
Jun 7, 2026
v1.0.2 on Magento 2.4.9
Jun 1, 2026

Looking for Contributors

Composer installation fails. Your contribution could help the entire Magento community!

Contribute

Share This Module's Status

Panth Sale Filter — Hyva Compatibility Magento compatibility status badge

README

Loaded from GitHub

Panth Sale Filter — Hyvä compatibility

Hyvä-native storefront template for the Panth Sale Filter — Alpine.js + Tailwind, zero jQuery. Ships the Appearance admin group so you can toggle the collapsed/expanded default from Stores → Configuration.

Requires mage2kishan/module-sale-filter (the core module that owns the indexer, the filter logic, and the Luma template). Installing this package alone does nothing.


Screenshots

Storefront sidebar

Hyvä storefront sidebar

Admin — configuration

Admin configuration (Appearance section, Hyvä group)

Admin — live demo

Admin configuration demo

Indexer registration (inherited from the core module)

Index Management


What this module does

  • Registers the Hyvä-native layered-navigation template at Panth_SaleFilter::layer/filter/sale.phtml, replacing the core module's Luma Knockout markup when a Hyvä theme is active. Alpine.js handles the open/close interaction; Tailwind handles the styling — no jQuery, no requireJS.
  • Adds the Appearance (Hyvä) admin group at Stores → Configuration → Panth Extensions → Sale Filter with one toggle:
    • Expanded By Default — whether the filter renders open or collapsed on first paint (default: Yes).
  • Varies the filter renderer's FPC cache key on that toggle so admin changes bust the cached block slot.

Everything else (indexer, admin grid, filter logic, URL params, label config, discount-source switches, etc.) lives in the core module — see its README for the full story.


Compatibility

Component Version
Magento Open Source / Adobe Commerce 2.4.x (tested 2.4.4 – 2.4.8)
PHP 8.1 · 8.2 · 8.3 · 8.4
Hyvä Themes 1.3+
Core module mage2kishan/module-sale-filter ^1.0.4

Installation

# This pulls the core module automatically (hard dependency).
composer require mage2kishan/module-sale-filter-hyva

bin/magento module:enable Panth_SaleFilter Panth_SaleFilterHyva
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento indexer:reindex panth_salefilter_product
bin/magento cache:flush

Configuration

Stores → Configuration → Panth Extensions → Sale Filter → Appearance (Hyvä)

Field Notes
Expanded By Default Renders the filter in its open state on first paint. Off = collapsed until the shopper clicks the header. Store-scoped.

All other settings (enable/disable, labels, counts, position, discount sources) live in the General group and belong to the core module.


Template override

The filter renders via:

app/design/frontend/<YourVendor>/<YourHyvaChild>/Panth_SaleFilter/templates/layer/filter/sale.phtml

Copy view/frontend/templates/layer/filter/sale.phtml into your theme to customise markup without forking the module.


Uninstall

bin/magento module:disable Panth_SaleFilterHyva
composer remove mage2kishan/module-sale-filter-hyva
bin/magento setup:upgrade

Removing only this module reverts Hyvä storefronts to the core module's Luma template (works but visually off-theme). Remove both to drop the filter entirely.


Changelog

1.0.1

  • Pin hard dependency on mage2kishan/module-sale-filter to ^1.0.4 so installers always pull the sort + realtime fixes.
  • README rewrite with screenshots and live-demo GIF.

1.0.0

  • Initial release.

Support


License

Proprietary. See LICENSE.

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.