netresearch / oro-hide-unavailable-variants-bundle
This OroCommerce bundle hides attribute combinations of configurable products in the storefront, if an applicable variant product does not exist.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 8
Forks: 1
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=8.2
- oro/commerce: 5.1.*
Requires (Dev)
- friendsofphp/php-cs-fixer: ~3.13.2
- oro/phpstan-rules: ^2.0
- phpstan/extension-installer: ^1.2
- rector/rector: *
- squizlabs/php_codesniffer: ~3.7.1
This package is auto-updated.
Last update: 2024-11-06 23:52:34 UTC
README
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:
Composer Installation
$ 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 stylecomposer 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).