Skip to content

Optimizer "Only in stock products" with backorders #2618

@vseager

Description

@vseager

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions