I have tried to find this solution but so far unable.

Ok. I have the newest version of zen cart and multiple products.

One product in particular is critical to the site.
I would like to either pull how many are remaining or bought to a different part of the site that is not ran on zen cart.

How could I do this using PHP?
Does anyone have any ideas or suggestions.


Just to make things completely clear.
All I want to pull is the number remaining or bought. Nothing else, just the number.

If I could pull both that would be best.

Any help is much appreciated.