I have a product with 0 quantity and Out of Stock Product, and it is showing on front-end. Customer is able to do add that product to cart.
I run all commands like:
php bin/magento indexer:reindex php bin/magento cache:flush php bin/magento cache:clean
but issue not solved.
Please tell me the appropriate solution.