faonni/module-smart-category
Composer 安装命令:
composer require faonni/module-smart-category
包简介
SmartCategory module is a base of Smart Categories functionality.
README 文档
README
Extension Smart Category rules dynamically change the product selection according to a set of conditions (Similar Smart Playlists on iTunes).
You can create categories based on rules you specify, and then update these categories automatically as your products changes.
For example, you could create a category includes only new products. Or you could create a categories of products by a particular brand, color, size, etc. You can add as many conditions to the expression as needed to describe the products to include.
Category edit page
Compatibility
Magento CE 2.1.x, 2.2.x, 2.3.x, 2.4.x
Install
To install the Smart Category, You must install kit of extensions:
- Smart Category - base of Smart Categories functionality.
- Smart Category Configurable - changes simple products to their parents for configurable products.
Install via Composer (recommend)
The corresponding version of the Smart Category Kit will be installed automatically.
-
Go to Magento2 root folder
-
Enter following commands to install module:
For Magento CE 2.1.x
composer require faonni/module-smart-category-kit:2.1.*For Magento CE 2.2.x
composer require faonni/module-smart-category-kit:2.2.*For Magento CE 2.3.x
composer require faonni/module-smart-category-kit:2.3.*For Magento CE 2.4.x
composer require faonni/module-smart-category-kit:2.4.*Choose one based on your Magento version and wait while dependencies are updated.
Manual Installation
-
Create a folder {Magento root}/app/code/Faonni/SmartCategory
-
Download the corresponding latest version
-
Copy the unzip content to the folder ({Magento root}/app/code/Faonni/SmartCategory)
-
Install Smart Category Configurable
Completion of installation
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)
Configuration
In the Magento Admin Panel go to Stores > Product Attributes.
Select any attribute that you’d like to be able to use by in the smart category conditions.
On the edit attribute page, under Storefront Properties set Use for Smart Category Rule to Yes.
Save the attribute.
Uninstall
This works only with modules defined as Composer packages.
Remove database data and schema
-
Go to Magento2 root folder
-
Enter following commands to remove database data and schema:
php bin/magento module:uninstall -r Faonni_SmartCategoryKit Faonni_SmartCategoryConfigurable Faonni_SmartCategory
Remove Smart Category Kit
-
Go to Magento2 root folder
-
Enter following commands to remove:
composer remove faonni/module-smart-category-kit
Completion of uninstall
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)
faonni/module-smart-category 适用场景与选型建议
faonni/module-smart-category 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 92.19k 次下载、GitHub Stars 达 83, 最近一次更新时间为 2017 年 01 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 faonni/module-smart-category 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 faonni/module-smart-category 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 92.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 83
- 点击次数: 22
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2017-01-03