skybluepunk:
Hi,
My stock levels are not being adjusted to reflect stock sold when customers place orders. Changing the status of the order does not affect the stock levels either.
My Products are all set up with Stock by Attributes.
Is this a problem with the way I've set up Stock by Attributes, or the way I've set up ZenCart, or just operator [my] error??
Thanks!
When someone places an order in my store, it appears that the Product total is reduced, but not the Stock by Attribute stock levels.
For example I had a product in three different colours, with only two items in stock (one green, one blue). When the blue item was sold, the Products with Attributes Stock page showed that I had a total of 1 item in stock (which was correct), but still showed 1 in green and 1 in blue.
When I clicked Sync Quantities, the Product total changed back to 2, whereas I would have expected the blue quantity to change to zero.
This seems to be opposite to the behaviour described in this post:
kuroi:
Hi Ben
I think that you've stated this the wrong way around. When products with attribute stock are purchased the attribute stock is reduced (provided Configuration > Stock > Subtract Stock is set to true), but the overall product total isn't.
So if you look at Catalog > Categories / Products you should see 20, whilst Catalog > Products with attributes stock should show 15.
You can manually sync the two by clicking on the Sync Quantities link in Catalog > Products with attributes. Quite why this wasn't automated when the addon was originally written escapes me. Maybe it is because attribute stock levels have taken over from product stock levels and so product stock levels no longer mean much, and it just wasn't considered to be important.
Could you please tell me how to get the Stock Levels adjusting correctly, as we are finding it impossible to keep track!
Thanks!