• Resolved alauer

    (@alauer)


    Hello,
    i am stucked and could do with some help.
    I have one product that should have two variations.
    Every variation should have different attributes.

    How do i do this?
    Product XY
    – Variation 1
    —–Size 1
    —–Size 2
    – Variation 2
    —–Color 1
    —–Color 2

    You see the problem?
    Variation 1 should not have “color” as attribute
    Variation 2 should not have “size” as attribute

    What ever i tried – i always get all attributes for all variants but in my case that does not make any sense at all.
    Do i try something thats not possible or am i to stupid?

    Kind regards alauer

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    Hi @alauer,

    All attributes that are used in a variable product need to be referenced in each variation. So, the only solution for this, would be two create three attributes:

    1. Variation number
    2. Size
    3. Color

    The Size and Color attributes would need to have a value like N/A, that indicates customers that it does not apply for the current selection.

    Then the variations would need to look something like this:

    https://cld.wthms.co/miVfsO

    I know it’s not exactly what you have in mind, as the N/A option would appear to customers, but it would be one way to get it to work.

    Setting up the variations like in the image above, would create a product that looks like this in the front-end: https://cld.wthms.co/siAM3C

    Hopefully this workaround helps!

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different attributes for variable product. How to?’ is closed to new replies.