amadeco/module-smile-custom-entity-layered-navigation
Composer 安装命令:
composer require amadeco/module-smile-custom-entity-layered-navigation
包简介
Amadeco customizations and Layered Navigation for Smile Custom Entity
README 文档
README
The Amadeco SmileCustomEntityLayeredNavigation module enhances Magento 2 by adding layered navigation (faceted search) capabilities to Smile Custom Entities. This module mirrors Magento 2's native layered navigation behavior, applying the same familiar filtering interface to custom entities. It enables customers to filter custom entity collections through an intuitive interface, improving the user experience and helping them find relevant content more efficiently.
Features
- Layered Navigation for Custom Entities: Adds faceted search to Smile Custom Entity collections, following Magento 2's native layered navigation behavior and conventions
- Filterable Attributes: Configure any custom entity attribute to be filterable in the navigation
- SEO Optimization: Automatically adds NOINDEX, FOLLOW meta robots tag to filtered pages
- Custom Sorting Options: Sort entities by attributes like name, creation date, and custom fields
- Pagination Controls: Enhances the entity listing with pagination functionality
- Multiple Filter Types: Supports various attribute types (select, multiselect, boolean) as filters
- Performance Optimized: Custom indexer for efficient filter operations on large collections
Installation
Composer Installation
Execute the following commands in your Magento root directory:
composer require amadeco/module-smile-custom-entity-layered-navigation bin/magento module:enable Amadeco_SmileCustomEntityLayeredNavigation bin/magento setup:upgrade bin/magento setup:di:compile bin/magento indexer:reindex amadeco_smile_custom_entity_layer_set bin/magento setup:static-content:deploy
Manual Installation
- Create directory
app/code/Amadeco/SmileCustomEntityLayeredNavigationin your Magento installation - Clone or download this repository into that directory
- Enable the module and update the database:
bin/magento module:enable Amadeco_SmileCustomEntityLayeredNavigation bin/magento setup:upgrade bin/magento setup:di:compile bin/magento indexer:reindex amadeco_smile_custom_entity_layer_set bin/magento setup:static-content:deploy
Usage
After installation, the layered navigation functionality will be automatically added to custom entity set pages after some attributes are configured to be filterable.
Configuration
- Navigate to Stores > Attributes > Custom Entity in the Magento Admin Panel
- Edit any existing attribute or create a new one
- In the "Layered Navigation Configuration" section:
- Set "Use in Layered Navigation" to:
- "No" - Attribute will not be used for filtering
- "Filterable (with results)" - Only shows options with matching entities
- "Filterable (no results)" - Shows all options regardless of results
- Set "Position" to control where the filter appears in the navigation menu
- Set "Use in Layered Navigation" to:
Requirements
- Magento 2.4.x
- Smile CustomEntity module (https://github.com/Smile-SA/magento2-module-custom-entity)
- Smile ScopedEav module (https://github.com/Smile-SA/magento2-module-scoped-eav)
Compatibility
- Magento 2.4.x
- PHP 8.3
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For issues or feature requests, please create an issue on our GitHub repository.
License
This module is licensed under the Open Software License ("OSL") v3.0. See the LICENSE.txt file for details.
Credits
Developed by Ilan Parmentier for Amadeco.
amadeco/module-smile-custom-entity-layered-navigation 适用场景与选型建议
amadeco/module-smile-custom-entity-layered-navigation 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 35 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 04 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「magento」 「magento2」 「layered navigation」 「elasticsuite」 「smile custom entity」 「catalog navigation」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 amadeco/module-smile-custom-entity-layered-navigation 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 amadeco/module-smile-custom-entity-layered-navigation 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 amadeco/module-smile-custom-entity-layered-navigation 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
An autoscaling Bloom filter with ultra-low memory usage for PHP.
Russian Language Pack for Magento 2
DPD Magento2 Shipping extension
A layering mechanism for PHP applications.
Auto generate related products for Magento 2
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2025-04-18