tuyennn / magento2-outofstockatlast

Magento 2.4.x module Sort Out Of Stock Product At last the product list
GNU General Public License v3.0
55 stars 12 forks source link

not working wiht magento 2.4.1 #1

Closed ia-gaurav closed 3 years ago

ia-gaurav commented 3 years ago

Magento Version -2.4.1

Steps - Intalled moduled, deployed , indexing done still not working

tuyennn commented 3 years ago

I have 2 products set as Out of Stock For all dir DESC or ASC - all Filters: Still find it works properly Selection_044 Selection_045 Selection_046 Selection_047 Selection_048 Selection_049

ia-gaurav commented 3 years ago

i see below error in log :

Uncaught TypeError: Return value of GhoSter\OutOfStockAtLast\Model\ResourceModel\Inventory::getStockStatus() must be of the type int, bool returned in /app/code/GhoSter/OutOfStockAtLast/Model/ResourceModel/Inventory.php:79

Please not i have disable Magento MSI related modules

ia-gaurav commented 3 years ago

i noticed that module is not working when Smile Elastic Suite ( https://github.com/Smile-SA/elasticsuite ) is enabled .

Can you check which part is doing conflict

tuyennn commented 3 years ago

@ia-gaurav should be improvement compatibility for next release. Will close this issue

tuyennn commented 3 years ago

@ia-gaurav now the module is compatibility with Smile Elastic Suite