zero1/module-sub-category-listing
Composer 安装命令:
composer require zero1/module-sub-category-listing
包简介
Adds the ability to display a sub category listing on all or specific categories
README 文档
README
The Sub Category Listing module allows you to present a list of sub categories on any category page on the frontend of your website
This improves navigation on the frontend and can help users find what they're looking for quickly and easily, while still keeping control in the user's hands.
Usage
Magento Admin > Catalog > Categories
When clicking into a category in admin, you will see a "Show Sub Category Listing" attribute. Setting this to yes will automatically show all of the available sub categories for that category as links above the product list
You will also see a "Display Sub Category Listing As Images" option. Setting this to yes will mean that the sub categories displayed will use the category images, should you want to show images
Installation
composer require zero1/module-sub-category-listing
Support
If you encounter any problems or bugs, please open an issue on GitHub.
© Zero-1 Ltd | www.zero1.co.uk
Configuration
The default is for the values to be enabled. This can be changed by specifying the following in a project module
app/code/Zero1/Release/etc/module.xml
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="MyVendor_MyModule" setup_version="1.0.0"> <sequence> <module name="Zero1_SubCategoryListing"/> </sequence> </module> </config>
app/code/Zero1/Release/etc/config.xml
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <zero1> <subcategorylisting> <default_enabled>0</default_enabled> </subcategorylisting> </zero1> </default> </config>
This will change the default to disabled.
zero1/module-sub-category-listing 适用场景与选型建议
zero1/module-sub-category-listing 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 293 次下载、GitHub Stars 达 3, 最近一次更新时间为 2021 年 05 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 zero1/module-sub-category-listing 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 zero1/module-sub-category-listing 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 293
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2021-05-26