PHPackages                             marcomessa/module-out-of-stock-at-last - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. marcomessa/module-out-of-stock-at-last

ActiveMagento2-module

marcomessa/module-out-of-stock-at-last
======================================

N/A

1.0.0(2y ago)1823OSL-3.0PHP

Since Mar 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/marcomessa/Magento-2.4-move-out-of-stock-products-at-last-page)[ Packagist](https://packagist.org/packages/marcomessa/module-out-of-stock-at-last)[ RSS](/packages/marcomessa-module-out-of-stock-at-last/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Magento 2.4+ move out of stock products in last position of last pages
======================================================================

[](#magento-24-move-out-of-stock-products-in-last-position-of-last-pages)

This is a fork of  (thanks to @majidiyan) with some improvements. This module let you move out of stock products in last position of last pages in category pages. You can enable or disable this feature at website scope in the admin panel. You can also change the ElasticSearch sort stack order in which this sorting will be applied.

in order to work you must run a reindex after the installation, because you need to add stock infos in indexes.

Requirements
------------

[](#requirements)

- Magento 2.4+
- ElasticSearch

Composer install
----------------

[](#composer-install)

```
composer require marcomessa/module-out-of-stock-at-last

bin/magento module:enable MarcoMessa_OutOfStockAtLast
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento index:reindex

```

Settings
--------

[](#settings)

You can find the settings in the admin panel under Stores &gt; Configuration &gt; Out of stock at last &gt; Settings

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

844d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d85c6535ae4bf40deef643977fb905710fc50b81d3262d55998465e77d3c4f9?d=identicon)[marcomessa](/maintainers/marcomessa)

---

Top Contributors

[![marcomessa](https://avatars.githubusercontent.com/u/4236142?v=4)](https://github.com/marcomessa "marcomessa (5 commits)")

### Embed Badge

![Health badge](/badges/marcomessa-module-out-of-stock-at-last/health.svg)

```
[![Health](https://phpackages.com/badges/marcomessa-module-out-of-stock-at-last/health.svg)](https://phpackages.com/packages/marcomessa-module-out-of-stock-at-last)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.3M1](/packages/fastly-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1859.0k](/packages/myparcelnl-magento)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

2913.9k](/packages/mage-os-module-automatic-translation)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

1512.6k](/packages/mage-os-module-inventory-reservations-grid)[graycore/magento2-graphql-introspection-cache

1016.3k](/packages/graycore-magento2-graphql-introspection-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
