Timeline for How can we get stock data in product listing via afterGetList plugin in Magento 2.2.3
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 28, 2018 at 7:03 | comment | added | Bhargava Rama | Actually when I run this, I got empty list in the rest api. When I see the admin console the quantity is showing as null. Again I have added the qty and list is displayed in rest api | |
Oct 28, 2018 at 6:50 | comment | added | Rohan Hapani | Is there any error log or system log? | |
Oct 28, 2018 at 6:47 | comment | added | Bhargava Rama | No. I didn't worked | |
Oct 28, 2018 at 6:36 | history | edited | Rohan Hapani | CC BY-SA 4.0 |
added 273 characters in body
|
Oct 28, 2018 at 6:22 | comment | added | Bhargava Rama | I'm able to get the quantity in the loop. My question is how to set back to the collection so that products list rest api will show the qty | |
Oct 28, 2018 at 6:15 | history | answered | Rohan Hapani | CC BY-SA 4.0 |