https://github.com/netresearch/oro-hide-unavailable-variants
This OroCommerce bundle hides attribute combinations of configurable products in the storefront, if an applicable variant product does not exist.
https://github.com/netresearch/oro-hide-unavailable-variants
Last synced: about 1 year ago
JSON representation
This OroCommerce bundle hides attribute combinations of configurable products in the storefront, if an applicable variant product does not exist.
- Host: GitHub
- URL: https://github.com/netresearch/oro-hide-unavailable-variants
- Owner: netresearch
- License: osl-3.0
- Created: 2023-05-26T11:43:07.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-07-07T23:34:45.000Z (about 1 year ago)
- Last Synced: 2025-07-08T01:44:25.562Z (about 1 year ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Hide Unavailable Variants Bundle
This OroCommerce bundle hides attribute combinations of configurable products in the
storefront, if an applicable variant product does not exist.
## Installation
### Requirements
The Bundle is not synchronized with the ORO development release cycle, look at this
table to choose the right version to install:
| HideUnavailableVariantsBundle | ORO Commerce |
|-------------------------------|-------------------|
| 1.0.* | >=5.0.0 <=5.0.8 |
| 2.0.* | >=5.0.9 <5.1.0 |
| 3.0.* | 5.1.* |
### Composer Installation
```bash
$ composer require netresearch/oro-hide-unavailable-variants-bundle
```
## Features
- Rows and columns (for which no product variants exist) are removed from the
inline matrix form for configurable products.
- Non-existent variants are removed from the selection box of configurable products.
## Development
### Code Style and Static Analysis
Use the following commands to ensure the source code conforms to our **coding standards**
and guidelines:
* `composer phpcs` to check PHP related files against the PSR-12 code style
* `composer rector` to automatically comply with coding standards, simplify and improve
code, and perform migrations (rules defined in `./rector.php`)
* `composer phpstan` for type and bug checking
Run the command `composer analysis` to run all commands at once. (That's exactly what
our CI does).