Mikeondraco:
Apologies if I was sounding flippant, my site using Zen is still under construction, thus nothing seen live by customers, etc.
The reason I want to add variants with 0 stock level is so that customers will be able to see all variants that can be available, whereas if not shown on the product screen, then that variant is not obviously available.
As I said above, still very much under construction as I am working my way through learning the package. If you want to see what the result of the above is on my product screen is have a look at:
http://dracocrafts.com/dcshop/index.php?main_page=product_info&cPath=3_4&products_id=1
and look at the Size drop-down box.
Entering a stock level of 1 to get the variant into the product table and the subsequently editing it back to 0 would have no consequences on a live site either. Until the 'Sync Quantities' tab is selected (or Sync All Quantities) then the live database is not updated and consequently the new variants/quantities are not available to customers.
If there is a 'fix' for this then I would be happy to incorporate it. Personally I am not a smart enough coder to know how to fix it myself, so this work-around will be fine for my implementation in my store.
Mike
It's no problem afterall like you said you're working on your own store to get it ready to go full-time live. Still trying to identify which of the couple of methods were used to populate the stock with zero quantity; however, seeing the example is a single attribute product, the two options that come to mind are identifying a single attribute and providing a quantity of zero, or populating all variants with a single value of zero. While the question still wasn't directly answered the situation can be inferred to either/both of those methods do not successfully populate the potential variants when a quantity of zero is identified for the stock quantity.
On the issue of having to wait for quantity synchronization before a product can be purchased is not correct at least on the version that I am testing... I have a synchronized quantity of 31 product, but 12 variants (three option names, 2 for the first, 3 for the second, and 2 for the third). All but 2 of the variants have a quantity of 10, the other 2 variants both fall in the absence of the third option name. I was just able to add to my cart a quantity of 40. (Haven't "purchased" them yet, but if there is a problem expected down the line, then there really should be something identified at the cart level, even if it is a potential of something being changed/different.)
So, is this a problem? Still not sure what the purpose of the quantity synchronization is (left over from some old code) at least in multiple attribute type product, but it has not necessarily been programmed in to cause some sort of alert... It does have some usefulness in single attribute product, but more of a total of a product can not exceed the total available which the synchronized quantity for a single attribute is basically the sum of all the different "styles" and makes more sense than when compared to multiple attributes. That said, I just tried a product that had single attributes, 61 synchronized in quantity, three option values each with 30 applied, and was able to add all 90 to the cart...
Did discover that the reported quantity in cart is not correct, which is something else that will need to be addressed... But at least up to the point of adding to the cart, there is nothing preventing adding quantity that were designated for a variant even if the total variant quantity exceeded the synchronized quantity. (That said, there also is no "edit" for the synchronized quantity, either it is the total of all the variants or it is off because the variants have been manipulated outside of the cart's "normal" process.)
There will be a fix for the inability to add a variant or combination of variants with a quantity of zero, just have to find the correct coding for when the value is zero as I remember there is a "trick" to get around the result that is being seen, but I can't remember what it is off the top of my head.