10 replies [Last post]
qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58

Hi I am trying to setup a clothing store for a friend and they have t-shirts and difference sizes so I used attribute to add sizes to the products. They want to keep an inventory by stock and some of the shirt sizes have been sold out but as far as I can tell you can only do stock for the product as a whole and not by each attribute. I need to set the stock for each size is that possible?

tcindie@drupal.org's picture
Offline
Getting busy with the Ubercode.
Joined: 05/15/2008
Juice: 440
Re: Stock per attribute?

You have to use a unique sku for each different attribute

Follow me on twitter.

qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58
Re: Re: Stock per attribute?

I went to the only thing I see for each attribute is: name, list position, cost, price, and weight there doesn't seem to be a sku for each?

tcindie@drupal.org's picture
Offline
Getting busy with the Ubercode.
Joined: 05/15/2008
Juice: 440
Re: Re: Re: Stock per attribute?

When you edit a product with attributes, you can assign separate sku's for each under the adjustments tab.

Follow me on twitter.

qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58
Re: Re: Re: Re: Stock per attribute?

Thanks that worked except for the first 3rd one down doesn't display in stock here is a screen shot so you can see what i mean. 1.3 doesn't show not sure why but 2.3 does.

http://img25.imageshack.us/img25/5830/18148308.png

tcindie@drupal.org's picture
Offline
Getting busy with the Ubercode.
Joined: 05/15/2008
Juice: 440
Re: Re: Re: Re: Re: Stock per attribute?

Strange.. you're sure it got created and associated with the product correctly? You could try recreating it and see if that helps. Perhaps something didn't save properly the first time around...

Follow me on twitter.

qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58
Re: Re: Re: Re: Re: Re: Stock per attribute?

nope, every product is missing 1 sku not always the same place not idea what is going on here.

Adjustments: http://img509.imageshack.us/img509/339/21205773.png
Stock: http://img509.imageshack.us/img509/8884/20589023.png

Edit: It doesn't seem to like if there is more than 4 options when I have 5 it cuts one out not always the same one.

qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58
Re: Re: Re: Re: Re: Re: Stock per attribute?

Ok I think its just sku number 1,2 and 3 that are messing up 4 seems to work ok so maybe something in the db is messed up?

qazwsx's picture
Offline
Joined: 05/28/2009
Juice: 58
Re: Re: Re: Re: Re: Re: Re: Stock per attribute?

bump?

Gardenside's picture
Offline
Joined: 03/24/2010
Juice: 18
Adjustments not available when Attribute is a checkbox

I know this is an old thread but I searched for this phenomenon and didn't find anyone else reporting it - but maybe it has something to do with qazwsx' problem.

When I have an attribute set to display as checkboxes in the product, none of the options show up under the Adjustments tabs. If I want to set separate SKUs for each option I have to switch the attribute to radio buttons - then I can set SKUs stock, etc... and those things are still associated with the option after I switch the attribute back to checkboxes. Seems like a bug to me, but I figured that somebody else would have reported it. Or not that many people use checkboxes for attributes.

Hope this helps somebody

Gardenside Studio

TR
TR's picture
Online
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3369
Re: Adjustments not available when Attribute is a checkbox

That is how it is supposed to work by design. Because if you have, say, four checkboxes, you would have 16 different combinations each with its own SKU. Then combine this with a few other attributes and you find the combinatorics grow exponentially. So when checkbox attributes were introduced it was decided that they had to all have the same SKU.

<tr>.