How to show how much of a product is in stock based on the variant you click?

Hello! Hope you all are well. :blush:

I have been trying to figure out how to show how much of a product is in stock based on which variant a customer clicks. For example, if they select “Double,” the number “190” will be shown as the amount that is in stock. When they select “Queen” the number “40” or however may of that specific product variant is left will be shown.

I hope that makes sense. I think I am very close to figuring out how to do it. I think it has something to do with “Conditional Visibility” but I do not see an option for showing how much of a product variant is in stock when that variant is clicked.

I appreciate it!

-Janine


Here is my site Read-Only: LINK
(how to share your site Read-Only link)