ghoster/module-outofstockatlast

Magento 2.4.x 模块 最后排序缺货产品

1.1.3 2024-08-08 02:09 UTC

This package is auto-updated.

Last update: 2024-09-08 02:20:42 UTC


README

composer require ghoster/module-outofstockatlast

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require Donate Codacy Badge Build Status

主要功能

  • 最后排序缺货产品
  • smile/elasticsuite^2.11 兼容
  • 首先,从 Stores > Configuration > Catalog > Inventory > Stock Options 设置 Display Out of Stock ProductsYes
  • 当然,我们谈论的是 Elastic Search。我们不支持 旧搜索引擎
  • 不时提醒您,在启用模块后进行 重新索引

兼容性

安装

* = 在生产环境中,请使用 --keep-generated 选项

类型 1:ZIP 文件

  • 将 ZIP 文件解压到 app/code/GhoSter
  • 通过运行 php bin/magento module:enable GhoSter_OutOfStockAtLast 启用模块
  • 通过运行 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 ghoster/module-outofstockatlast 安装模块
  • 通过运行 php bin/magento module:enable GhoSter_OutOfStockAtLast 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

  • 启用模块后重新索引

捐赠

如果这个项目帮助您减少开发时间,您可以给我一杯啤酒 :)

paypal