Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOS (Out Of Stock) products not shown in search #3437

Open
alessandrogrisafi opened this issue Nov 6, 2024 · 4 comments
Open

OOS (Out Of Stock) products not shown in search #3437

alessandrogrisafi opened this issue Nov 6, 2024 · 4 comments
Assignees

Comments

@alessandrogrisafi
Copy link

OOS (Out Of Stock) products are not shown in search (both the suggestions and search results page)

Preconditions

Magento Version : Adobe Commerce 2.4.5-p7
ElasticSuite Version : Open Source ver. 2.10.11
Environment : Production

Steps to reproduce

  1. Configuration -> Catalog -> Inventory -> Stock Options -> Display Out Of Stock Products: YES
  2. Search an OOS (Out Of Stock) product and see that is not shown
@vahonc vahonc self-assigned this Nov 6, 2024
@vahonc
Copy link
Collaborator

vahonc commented Nov 7, 2024

Hello @alessandrogrisafi,

I could not reproduce your issue according to your steps.

Here're screenshots from my test environment with fresh Magento 2.4.5-p7 EE (prod mode) and Elasticsuite 2.10.11:

ScreenShot Tool -20241107135247

ScreenShot Tool -20241107135046

Screenshot from 2024-11-07 13-54-49

Screenshot from 2024-11-07 13-54-19

Screenshot from 2024-11-07 13-54-33

Screenshot from 2024-11-07 13-54-41

As you can see all is fine with displaying OOS in search (both the autocomplete and search results page).

Are you sure that you don't have 3rd party extensions or other settings which can affected on your issue?

BR,
Vadym

@alessandrogrisafi
Copy link
Author

Hello @vahonc,
i'll provide more details about our situation.
The product that it's not listed is a configurable product which is "In Stock" but the simple products have 0 stock in all the Stock Sources (included Default Stock Source). If i assign some stock to a simple product the product returns visible in search, but if all the simple products are OOS the configurable is not shown.
Thanks in advance

@vahonc
Copy link
Collaborator

vahonc commented Nov 13, 2024

Hi @alessandrogrisafi,

Again, I was not able to reproduce your issue with the Default Stock Source (in my case I use only one stock source).

After setting 0 stock/OOS for all simple (children's) products:

Screenshot from 2024-11-12 15-38-59

the parent product is still visible in search (both the autocomplete and search results page):

Screenshot from 2024-11-12 15-35-57

Could you add more details about all your Stock Sources? How many sources do you have?

Probably, there is some MSI bug or maybe we are missing something.

BR,
Vadym

@alessandrogrisafi
Copy link
Author

Hi @vahonc,
thank you for your patience.
I can confirm you that we have MSI, precisely we have 16 Stock Sources between 9 Stocks (each for a different country).
The configurable that it's not listed has 0 stock in all the Stock Sources (included Default Stock Source) for the Stock of the country in which the product is sold.
Maybe its the MSI setup that's causing the bug.
Let me know if you need further details.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants