myweb/show-out-of-stock-products
Composer 安装命令:
composer require myweb/show-out-of-stock-products
包简介
Show out-of-stock product configurations for configurable products on the front end.
README 文档
README
This module makes Magento 2 display out-of-stock configurations for configurable products when the relevant option is set to Yes in the back end.
There is an option in Magento 2's admin interface that enables the display of out-of-stock products on the front end. The problem with this option is that out-of-stock product configurations for configurable products are not displayed even when this option is enabled. This module makes Magento 2's front end display these products, while keeping the swatches for the out-of-stock configurations crossed out.
Update for 1.0.4
Removed the Magento Framework and PHP version requirements imposed by composer.json. But this module was not tested with releases later than Magento 2.2.7. Use at your own risk!
Installation
Via composer:
composer require myweb/show-out-of-stock-products
bin/magento setup:upgrade
OR copy the contents of this repo to the following location:
{magento_root}/app/code/Myweb/ShowOutOfStockProducts
then
bin/magento setup:upgrade
If you are in production mode you also need to run the following after installation:
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
统计信息
- 总下载量: 1.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-03