Hello
Within my M2 shop I show the customers if a product is in stock or not. (no stock count, just in stock or out of stock).
Now if i have a lot of configurable products with a single dropdown to choose the size. If the customers changes the selection I would like to update the stock state.
My problem is, I don't know how to attach the event on the dropdown when something changes and how to get the selected product to update my div which holds the stock state/availability state.
I'd appreciate your help.
Here you see what I mean: