grantham / module-recentcategory
在所有页面显示最近分类块
dev-main
2024-04-12 13:11 UTC
This package is auto-updated.
Last update: 2024-09-12 14:13:54 UTC
README
``grantham/module-recentcategory``
主要功能
- 在magento的所有页面显示最近分类块
- 提供系统配置以提供默认分类ID
- 限制最多显示3个分类及其子分类
- 如果访问更多分类则替换现有分类
安装
* = 在生产中请使用--keep-generated
选项
类型1:ZIP文件
- 将ZIP文件解压到
app/code/Grantham
- 通过运行
php bin/magento module:enable Grantham_RecentCategory
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
刷新缓存
类型2:Composer
- 将模块在composer存储库中可用,例如
- 私有存储库
repo.magento.com
- 公共存储库
packagist.org
- 公共github存储库作为vcs
- 私有存储库
- 通过运行
composer config repositories.repo.magento.com composer https://repo.magento.com/
将composer存储库添加到配置中 - 通过运行
composer require grantham/module-recentcategory
安装模块composer - 通过运行
php bin/magento module:enable Grantham_RecentCategory
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
刷新缓存