buhmann/module-stock-status

Magento 2 Stock Status Module

Maintainers

Package info

github.com/buhmann/StockStatus

Type:magento2-module

pkg:composer/buhmann/module-stock-status

Statistics

Installs: 2

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.1 2026-06-24 10:31 UTC

This package is auto-updated.

Last update: 2026-06-24 11:01:11 UTC


README

Magento Elasticsearch OpenSearch License

Overview

Adds a configurable stock status filter to Magento layered navigation (category page). The filter is fully integrated with Elasticsearch/OpenSearch and supports custom positioning, configurable URL parameters, and multi-language labels.

Features

  • Full Elasticsearch/OpenSearch Integration — filter works via search engine aggregates, no performance impact
  • Configurable Filter Position — place filter at the beginning, end, after specific attribute, or at custom position
  • Custom URL Parameter — change URL parameter name (default: stock_status)
  • Selectable Options — show "In Stock", "Out of Stock", or both
  • Custom Filter Title — change the filter display name in layered navigation
  • Admin Configuration — all settings available in Stores → Configuration → Catalog → Layered Navigation
  • Multi-language Ready — includes English and German translations
  • Magento 2.4.7+ — compatible with OpenSearch and Elasticsearch

Requirements

  • Magento 2.4.7 or higher
  • Elasticsearch 7.x / 8.x or OpenSearch

Installation guide

This module is available on Github.

composer require buhmann/module-stock-status
php bin/magento module:enable Buhmann_StockStatus
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex
php bin/magento cache:flush