Skip to content

buhmann/StockStatus

Repository files navigation

Magento 2 Buhmann StockStatus

Main Functionalities

Enabels filtering by stock status (simple and configurable)

Added additional stock_status_filter attribute. The attribute is updated by cron, also added the ability to force the update using the command: bin/magento buhmann:init:stockStatus

With active filter stock_status_filter=1:

  • For simple products works default filter functionality.
  • For configurable products, if a simple product is defined (based on active filters) and that product is out of stock, then the parent configurable product is hidden.

Installation guide

This module is available on Github.

composer require buhmann/module-stock-status
 bin/magento setup:upgrade
 bin/magento setup:di:compile
 bin/magento setup:static-content:deploy -f
 bin/magento indexer:reindex
 bin/magento buhmann:init:stockStatus
 bin/magento c:f

About

Filtering in Layered Navigation by Stock Status

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages