myweb/show-out-of-stock-products 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 4
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固