Skip to content

Fix for Magento 2 searchCriteria not returning stock info in product listing/search.

License

Notifications You must be signed in to change notification settings

menacoders/Stock-Info-API-searchCriteria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stock Info in Extention attributes

Fix for Magento 2 searchCriteria not returning stock info in product listing/search.

the issue

"/rest/V1/products?searchCriteria" API endpoint" does not return information about stock in the "extension_attributes" section magento/magento2#22737

the solution !

Now it's return all stock info about the products when you are using searchCriteria.

stock info

how to install?

just upload the module files to this directory /app/code/Menacoders/Stock

Run these command lines

  • php bin/magento setup:upgrade
  • php bin/magneto index:reindex
  • php bin/magento c:c
  • php bin/magento c:f

Contact us:

About

Fix for Magento 2 searchCriteria not returning stock info in product listing/search.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages