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

Optimizer "Only in stock products" with backorders #2618

Open
vseager opened this issue Jun 27, 2022 · 0 comments · May be fixed by #2637
Open

Optimizer "Only in stock products" with backorders #2618

vseager opened this issue Jun 27, 2022 · 0 comments · May be fixed by #2637
Assignees

Comments

@vseager
Copy link
Contributor

vseager commented Jun 27, 2022

When creating an optimizer, the "Only in stock products" is only effective when backorders are disabled. If backorders are enabled then all products are set to "In Stock" despite the quantity being <= 0.

With backorders enabled, you may still wish to prioritise products which as in stock and available to ship immediately, but this is not currently possible.

Preconditions

  • Enable backorders
  • Set product(s) to "In Stock" and QTY to 0 or less
  • Set up Optimizer to prioritise "Only in stock products"

Magento Version : 2.4.3-p2

ElasticSuite Version : 2.10.10

Environment : Developer/Production

Steps to reproduce

  1. Enable backorders
  2. Set product(s) to "In Stock" and QTY to 0 or less
  3. Set up Optimizer to prioritize "Only in stock products"
  4. Visit category page

Expected result

  1. Products with less than 1 quantity should be at bottom of the product grid.

Actual result

  1. Products with less than 1 quantity are not at bottom of the product grid.
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

Successfully merging a pull request may close this issue.

2 participants