Skip to content

Commit

Permalink
Removed PHP and Magento framework version restrictions.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkarsai committed May 26, 2020
1 parent 11916d7 commit f60b421
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 1 addition & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "myweb/show-out-of-stock-products",
"type": "magento2-module",
"version": "1.0.3",
"version": "1.0.4",
"keywords": [
"magento 2",
"out-of-stock",
Expand All @@ -16,10 +16,6 @@
],
"license": "MIT",
"description": "Show out-of-stock product configurations for configurable products on the front end.",
"require": {
"php": "~7.0.13|7.1.*|7.2.0 - 7.2.11",
"magento/framework": "~101.0.7"
},
"autoload": {
"files": [
"registration.php"
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This module makes Magento 2 display out-of-stock configurations for configurable

There is an [option][1] 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:
Expand Down

0 comments on commit f60b421

Please sign in to comment.