Hi all.
I've created a product with various sizes. These sizes are child products of the parent product and i configurated the amount of stock for each size. So far so good.
I programming default.php in productdetails to show the amount of stock available. I would like when a customer chooses a size refresh the amount of stock available using Ajax (the same operation when refresh the price). I'm assign a class for stock "stock-disponible". I'm suppose i must reprogramming some javascript file but i don't know what i must modify.
Thank you.