• Resolved mrprainx

    (@mrprainx)


    Hello. It’s the first time I build a real WooCommerce store.

    I’m struggling to find the ratio of hierarchy between two variables.

    Let’s say I’m selling t-shirts. I have a t-shirt that comes in different sizes AND different colors. So the customer MUST pick a size AND a color. Very simple to set up.

    For the purpose of this example, let’s say I have

    two sizes

    • small
    • medium

    and 2 colors

    • red</
    • green

    If everything is in stock…there are no problems at all. But what if the Small size is out of stock? How can I tell to WooCommerce that Small size is out of stock for ALL the color variations?

    I understand that in this example the easy solution would be to set SMALL + RED to out of stock and SMALL + GREEN out of stock.

    But what (and that’s my case) if I have hundreds of color variations? Do I have to create a single combination for each SMALL + COLOR?

    To explain my scenario better, I have SMALL + ANY COLOR VARIATION. And also the sizes aren’t just SMALL and MEDIUM, but tens of them (rings).

    Is there a way to crerate a hierarchy between variations so that if the “dominant” one is out of stock, the others will also be out of stock?

    I hope I managed to clarify my question.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi there!

    Is there a way to crerate a hierarchy between variations so that if the “dominant” one is out of stock, the others will also be out of stock?

    Indeed there is. If you configure your attributes like this:

    The configuration of Attributes

    And then set up Variations like this:

    Variations configured so that one attribute is dominant

    Those particular variation settings will now apply to that particular size, regardless of the color (provided you select “Manage Stock” at the variation level):

    Select manage stock at the variation level to apply stock settings to a variation

    Give it a whirl. With the settings above, you will now be able to buy only a medium in any color once, after which all medium options will show out of stock.

    Let us know how it goes.

    Thread Starter mrprainx

    (@mrprainx)

    Thank you @eastofwest.

    That worked…partially. Eheh.

    I’ll explain why: thanks to your indications, I managed to make the size “predominant” on the color. So if I set a specific size as “Available on Backorder”, that applies to all colors. Wonderful. And thank you again.

    But now the color variations’ specific images do not show up. It looks like that now, being the size predominant, the extra image(s) applied to any single color variations do not show up. No matter what.

    That only changes if I drag the colors variations above the size ones…but again the stock “predominance” won’t work properly.

    I hope I managed to explain it. I’ve tried to post some screenshots but there’s no IMG tag here anymore.

    Thread Starter mrprainx

    (@mrprainx)

    Hello again @eastofwest.

    Sorry to bother again. I’m writing just to know if I have to surrender to creating every single possible combination of variations and put the correspondent image…or if there is a more easy way to do so, giving the fact that I have hundreds of combinations.

    Thank you again for your support.

    Plugin Support EastOfWest a11n

    (@eastofwest)

    Apologies for the delay in reply. Normally a Small Red Shirt, would be a different item entirely to a Small Blue Shirt, which is probably why the Variable product doesn’t cope well with the intricacies of your particular scenario.

    If we look at this another way, then your only “variation” in the product is the size, and your colors should be treated like add-ons. Your customers could then select the size built-in to the Variable product, and the add-on color via another extension.

    Take a look at Product Add-Ons for instance, which shows an example on the front page. If you’re looking for more advanced features, have a look at WS Form PRO Product Add-Ons, and specifically their Color Swatches demo, or the T-Shirt demo.

    If you have more specific questions about any of the extensions, please ask them via this sales form.

    Thread Starter mrprainx

    (@mrprainx)

    Thank you @eastofwest. I’ll look into it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hierarchy between variations?’ is closed to new replies.