ghoster / module-outofstockatlast
ghoster/module-outofstockatlast
Magento 2.4.x module Sort Out Of Stock Product At last the product list
Magento 2.4.x module Sort Out Of Stock Product At last the product list
composer require ghoster/module-outofstockatlast
Main Functionalities
- Sort Out Of Stock Product At last the product list
- Compatibility with
smile/elasticsuite^2.11 - Firstly
Display Out of Stock ProductsfromStores > Configuration > Catalog > Inventory > Stock Optionsmust be setYes - Of course, we are talking about Elastic Search. We don't support old search engine
- From time to time we remind you Reindexing after you enable the module
Compatibility
| Magento Version (Open Source/Commerce) | Elasticsearch | OpenSearch | ElasticSuite | Supported |
|---|---|---|---|---|
| 2.0.x | 2.x | - | 2.1.x | No ❌ |
| 2.1.x | 2.x & 5.x | - | 2.3.x | No ❌ |
| 2.2.x | 5.x & 6.x | - | 2.6.x | No ❌ |
| <2.3.2 | 5.x & 6.x | - | 2.8.4 | No ❌ |
| <2.3.5 | 5.x & 6.x | - | 2.8.x | No ❌ |
| >=2.3.5 | 6.x & 7.x | - | 2.9.x | No ❌ |
| 2.4.0 | 6.x & 7.x | - | 2.10.1 | Yes ✔️ |
| >=2.4.1 && < 2.4.6 | 6.x & 7.x | - | 2.10.x | Yes ✔️ |
| >=2.4.6 | 7.x & 8.x | 1.x & 2.x | >=2.11.x | Yes ✔️ |
Installation
* = in production please use the --keep-generated option
Type 1: Zip file
- Unzip the zip file in
app/code/GhoSter - Enable the module by running
php bin/magento module:enable GhoSter_OutOfStockAtLast - Apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Make the module available in a composer repository for example:
- private repository
repo.magento.com - public repository
packagist.org - public GitHub repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/ - Install the module composer by running
composer require ghoster/module-outofstockatlast - enable the module by running
php bin/magento module:enable GhoSter_OutOfStockAtLast - apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Configuration
- Reindexing after you enable the module
Donation
If this project help you reduce time to develop, you can give me a cup of beer :)
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.1.6 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-04-15 01:38:28 |
| 1.1.4 | stable | Not tested | Not yet tested Details | 2025-05-12 09:02:44 |
| 1.1.3 | stable | Not tested | Not yet tested Details | 2024-08-08 02:09:53 |
| 1.1.2 | stable | Not tested | Not yet tested Details | 2024-05-06 07:41:46 |
| 1.1.1 | stable | Not tested | Not yet tested Details | 2023-08-14 04:31:17 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2023-06-26 07:32:38 |
| 1.0.6 | stable | Not tested | Not yet tested Details | 2023-05-29 04:37:03 |
| 1.0.5 | stable | Not tested | Not yet tested Details | 2022-06-09 04:21:42 |
| 1.0.4 | stable | Not tested | Not yet tested Details | 2022-04-19 11:13:38 |
| 1.0.3 | stable | Not tested | Not yet tested Details | 2022-04-14 02:21:03 |
| 1.0.2 | stable | Not tested | Not yet tested Details | 2021-09-22 06:00:01 |
| 1.0.1 | stable | Not tested | Not yet tested Details | 2021-06-23 04:41:41 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2021-05-19 08:20:03 |
Requires 2
| Package | Constraint |
|---|---|
| php | >=8.1.0 |
| magento/framework | >=102.0.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from ghoster
View vendorTurn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.
