- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020
11:22 AM
06-20-2020
11:22 AM
Show if selected configurable product is in stock or not
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.
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020
11:40 AM
06-20-2020
11:40 AM
Re: Show if selected configurable product is in stock or not
Here you see what I mean: