users can purchase 0 stock items

something is weird here. I have products listed for zero stock and people can still add them to their cart and purchase. it used to say out of stock but I think i made change last week and now it does not say that. How can i put it back the way it was ?

I believe you are going to have to let us know what changes to what file you made to figure it out.



Other than that you should have “Allow negative stock” unchecked in settings.

ok i figured it out the other day. I had to ’ enable product tracking ’ in the admin panel