Hmmm ... product-stock-by-attribute isn't built-in to Zen Cart yet, but is in development for an upcoming release. There is a contribution kicking around that has done something with it, which you might want to try out.