Quote Originally Posted by double e View Post
I am setting up my website, www.doubleEgifts.com, and I installed the stock by attributes v4.5 but it is not working properly. I have the newest version of Zen cart and I am very new to the whole .php thing and website design. I used this for most of the leather things I have listed with attributes but when I enter a quantity and hit submit button it puts attribute stock line in twice, so I have to delete one of the entries. I don't know what the problem is but I do know it takes long enough to enter amounts for all the attributes and variations now, without deleting an entry everytime also.
I can only assume that this would be very complicated to write but is it possible for this to work by having the attributes listed with a quantity boxes after each attribute on the submit page so you could enter all of the stock levels for each attribute and submit them all at once instead of navigating back and forth for each attribute? Just wondering if this is feasable or not.
I would appreciate any help and thanks in advance.
Keith
I think you have two questions here:
  1. why does my stock get entered twice, and how do I stop it?
  2. is there a way of entering stock for multiple attribute combinations at the same time?

The double entry behaviour is not correct and indeed I've not heard of this before, so I don't have a quick answer. Can you post some more about it? Does it happen with every attribute combination for every product with attributes or just some of them? Can you provide an example? Where do you see the double entry? Do you see the double entry if you look directly in the database e.g. by using phpMyAdmin?

The answer to the second question is no. The mod is designed to cope with a wide range of scenarios, so although it would be easy for somebody to create a variant that allowed multiple entry for products with just one attribute, and not to difficult for products with two, a product that had say five attributes would require a 5-dimensional table which would be extremely hard to render on a 2-dimensional screen. Maybe we'll see more creative input methods emerging when this functionality is taken into Zen Cart's code code in release 1.4.