v1.1.0
feat: add dedicated config and display count toggle for Custom Entity layered navigation
This new version introduces several enhancements to the Custom Entity layered navigation module and fixes critical toolbar bugs.
Features
- Add a dedicated "Custom Entity" section in Store Configuration with its own settings
- Create a new "Layered Navigation" fieldset with "Display Product Count" toggle option
- Implement a ViewModel pattern for layered navigation filter rendering
- Update templates to conditionally display product counts in filters
Bug Fixes
- Fix toolbar mode switching & order direction not being applied correctly
- Resolve parameters mismatch between toolbar model and JavaScript widget
- Fix JSON corruption in toolbar widget options
- Correct the URL parameter handling for sorting and filtering
- Fix inconsistent behavior in the
getCurrentMode()
method - Ensure proper collection sorting when applying toolbar parameters to SQL queries
Technical Changes
- Refactor SetList helper to use Custom Entity-specific configuration values
- Fix JavaScript initialization for entity list toolbar
- Standardize parameter naming and handling across components
These changes improve the module's independence from Catalog configuration and provide better customization options for the layered navigation experience with Custom Entities.