marcomessa / module-out-of-stock-at-last
N/A
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/framework: *
README
This is a fork of https://github.com/majidiyan/magento2-out-of-stock-move-end-category (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
- Magento 2.4+
- ElasticSearch
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
You can find the settings in the admin panel under Stores > Configuration > Out of stock at last > Settings