QUESTION:


Hi guys!


According to your guide, if I set the config Display Out of Stock Product with Pre-Order Status Only = Yes, the out of stock which is PreOrder will be shown on the frontend.

However, after I config on our site, it shows on the product page, but these PreOrder products are not shown on the category page.


Do you have any idea?

Note that we use M2.4.1, module v1.1.9.


ANSWER:


To fix this error, please download the files fix I attached below and overrides the current files on your site:


+ app/code/Bss/CustomPreorder/Plugin/Model/Layer/CheckOutOfStockOptions.php

+ app/code/Bss/CustomPreorder/etc/di.xml


If you need further assistance, please do not hesitate to contact us. We'd be happy to support!