imageineonline / module-saleablesorter
可售排序器 | 根据库存状态对产品列表进行排序,使您可以将缺货产品推到页面末尾
1.0.5
2021-04-27 09:31 UTC
Requires
This package is auto-updated.
Last update: 2024-09-27 16:58:38 UTC
README
主要功能
以下模块将排序您的产品,并将所有缺货产品移动到目录底部,以便客户可以专注于库存项目
安装
* = 在生产中请使用 --keep-generated
选项
类型 1: Zip 文件
- 将 zip 文件解压到
app/code/Prodovo
- 通过运行
php bin/magento module:enable Prodovo_SaleableSorter
启用模块 - 通过运行
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 prodovo/module-saleablesorter
安装模块 composer - 通过运行
php bin/magento module:enable Prodovo_SaleableSorter
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存
配置
- 启用(saleable_sorter/general/enabled)