Hi Igor,
Unfortunately, the feature is not currently available. The event fired when someone clicks on an attribute from two different attributes like- Color, Size.
On the page load, it will not fire that trigger. So, for one attribute it will not work. I hope this explanation will help you to understand.
But it’s a great idea. I’ll discuss this feature with my team.
In the meantime, please send the feature request here: https://storepress.fider.io/
and ask your other to upvote it.
Cheers!
Product page – Variation stock info – single Attribute
Igor Maly
In the tutorial, two attributes are used. When user choses the first attribute, swatches for second attribute get updated and stock availability shows as orange labels at the swatches’ bottom. So far so good. This behavior works at my site too.
However, I’d like to use it with a single standalone attribute, in my case, Size.
I have variable product with sizes M, L, XL, 2XL etc. On product page for this product, swatches do not get that orange label no matter what setting I use.
Can anyone please guide me how to set it up so that stock levels show even at this single attribute swatches?