Inventory Based on product options
I would like to know if is possible to accomplish the task of control items inventory based on items options: (Options set based on WA Tutorial)
10 items in color pink and 2 were sold, and the inventory will show eight and so on.
If it is possible how to achieve it, or if a tutorial exists for that.
Thanks in advance.