This page has moved to Adobe Experience League and will be redirected soon.
[!DNL Live Search] displays out-of-stock products regardless of stock status settings in admin
[!DNL Live Search] displays out-of-stock products regardless of stock status settings in admin
This article provides information on the known issue where the Product Listing Page (PLP) shows the We can’t find products matching the selection error while the search popover returns some items.
Affected products and versions
Adobe Commerce (all deployment methods) 2.4.x
Issue
[!DNL Live Search] displays search results regardless of the stock status settings in the Adobe Commerce Admin. Even when the [!UICONTROL Display Out-of-Stock Products] is set to No, the products are displayed. It results in the PLP error We can’t find products matching the selection.
Steps to reproduce:
- Create a category, add products. (Example: Category = Jeans, Product1 = Blue Jeans, Product2 = Black Jeans)
- Make all products in the category out of stock.
- Set [!UICONTROL Display Out-of-Stock Products] to No.
- On the storefront, enter Jeans in the search field.
- Click [!UICONTROL View All] in the pop-up.
Expected result:
You see the We can’t find products matching the selection message on PLP, and no products are displayed on the search pop-up.
Actual result:
You see the We can’t find products matching the selection message on PLP, and both products are displayed on the search pop-up.
Solution
There is no solution for this issue at the moment. Our [!DNL Live Search] team will soon provide a setting to configure [!DNL Live Search] to display products correctly.
Install [!DNL Live Search] in our user guide.