Want To Add Extra Images Per Product Variation? Download This Free Plugin

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?

Hakik Zaman

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!

Igor Maly

Thank you for the information. Not to say I’m happy about it, but I understand.

Perhaps another approach is necessary: my goal is to enable the customer to see what is in stock, what is available on backorder, and what is hard-out-of-stock. The idea was to show stock available via these labels for variations on stock. No label would indicate backorder availability, and crossed out swatch would show nonavailability.

This is clearly not possible now, according to your response. But I wonder, could I reach that behavior by, let’s say, different swatch color (background) to distinguish between on-stock and on-backorder? Would it be possible to show swatches for variations on-stock with, say, green background, and the others (on-backorder) with default white/transparent?

Igor Maly

Another idea: leave in-stock variations as they are. Instead, show on-backorder variations in a visually different manner.

Out-of-stock variations have differing visual: they can be shown as grayed out and with a cross.

If on-backorder variations could be presented similarly (e.g. just grayed out, without the cross), that would solve my goal. To be precise, this would apply to variations where Backorder is set to “Allow, but notify customer” and stock status is <= 0.

Hakik Zaman

Hi Igor,

I have discussed the back order swatches feature with my team. They confirmed, they will try to add it in the next release.

Thanks in advance for your patience.

Igor Maly

That would be pretty awesome. I am certain the wait will be worth it. Thanks 🙂

Igor Maly

Might I ask when is the next release planned? There has already been one update since I posted the ticket, and that one did not contain the addition. Thanks.

Hakik Zaman

Hi Igor,

The feature you request is not stable enough to release.

The latest update was for some bug fixes.

Thanks in advance for your patience.