Quantity on stock and code for radio options


How can I show product code and quantity on stock for next to all product combinations (at the same time) next to radio buttons in front office on product page. After or before price (no matter).

I tried to use $product.product_code but it shows same (main product code) for all combinations.

Please help.


Can not believe nobody can help. Or they are all gone on vacations?