Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 758 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 758 Bytes

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: