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

Module uses stock quantity and not salable qty for sorting #12

Open
chequille opened this issue Sep 25, 2021 · 1 comment
Open

Module uses stock quantity and not salable qty for sorting #12

chequille opened this issue Sep 25, 2021 · 1 comment
Assignees
Labels
compatibility Compatibility with 3rd party enhancement New feature or request

Comments

@chequille
Copy link

chequille commented Sep 25, 2021

Preconditions (*)

  1. Magento version 2.4.3

Steps to reproduce (*)

  1. Opening a catalog site. Products having a stock qty shows first in the list, So good so far

Expected result (*)

  1. The module should look at the saleable qty and not the quantity in stock.

Actual result (*)

  1. Currently, if a product does have salable qty 0, it is still shown at the beginning of the list and not sorted.
  2. Reason is that the module is not using salable qty
@chequille
Copy link
Author

Hi
this is an ongoing bug in Magento since Inventory modules were introduced because many methods do look for the quantity in stock and not the salable quantity. I am fighting with this since more than a year but nobody really cares.

@tuyennn tuyennn added compatibility Compatibility with 3rd party enhancement New feature or request labels Sep 27, 2021
@tuyennn tuyennn added the magento bug Regarding not a module but Magento core bug label Jul 7, 2023
@tuyennn tuyennn self-assigned this Aug 16, 2023
@tuyennn tuyennn removed the magento bug Regarding not a module but Magento core bug label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with 3rd party enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants