I am working on a project where I need to display the list products on list page. I have added the products on local server where I am getting them on front-end. But when I create products on live site. I am getting
"Available Stock:0"
in Magento 2.3.
When I went to check the n.o of products in list.phtml using count() function it return 0. But on local it return right value and display the products as well.
I have tried Reindexing as well but got no luck. Kindly help me out!!! If you need further clarification please let me know.