I managed to create a quantity drop down with the attribute values I wanted. I know I can change the price for each attribute value to reflect the quantity in the attribute but is there a way to link the attribute to the actual quantity in stock so that the right quantity is deducted from stock?
I could not see anything in attributes to do this.

Thank you
Imran