• Resolved ynpnl

    (@ynpnl)


    Hello,

    I have an issue with the following product which the variables don’t display as they’re set.

    The Kidney Table has 2 different sizes:
    1. Seats 4-6 (LxW) 120x78cm
    2. Seats 6-10 (LxW) 180x120cm

    Seats 4-6 (LxW) 120x78cm should only show:
    1 Table height (0.5 – 2 years (H) 30cm) with
    these 3 Table Top Colour Choices (Natural Birch, Scandinavian Birch and Midnight Birch)

    Seats 6-10 (LxW) 180x120cm should only show:
    3 Table heights (0.5 – 2 Years (H) 30cm, 1.5 – 3 Years (H) 45cm and 3.5 – 5 Years (H) 50cm) with
    these 11 Table Top Colour Choices (Light Grain, White, Tawa, Dark Grain, Pearl, Storm, Blue, Green, Orange, Red and Atom)

    On the backend, I’ve created variations for just exactly that but they’re showing all the options in the dropdowns.

    Attached screenshot of the variables. Also attached a screenshot of the table in catalogue format for your reference.

    The Table Edging and Table Leg Colour Choices can be mixed and matched with the above so I put “Any…” for those 2 attributes.

    Pls assist.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Nicola Mustone

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    This is normal and expected.

    It happens when the amount of variations on a product is more than 20. It is a matter of performance. If all the variations are loaded with the product in order to remove the non-matching ones from the dropdown, the website may slow down significantly.

    You can change this via filters: https://gist.github.com/claudiosanches/6f91ad228c2176b986b2

    Thread Starter ynpnl

    (@ynpnl)

    This code works! Thanks @nicolamustone!

    I didn’t know that the variations could slow down the performance of a website! I have a few other products that have more than 100 variations, is there any way to keep these variations and not affect the performance?

    Nicola Mustone

    (@nicolamustone)

    Automattic Happiness Engineer

    Hey,

    I didn’t know that the variations could slow down the performance of a website! I have a few other products that have more than 100 variations, is there any way to keep these variations and not affect the performance?

    100 per product is ok, but the more you add, the slower it becomes until it’s actually noticeable. Also, it depends on how many products you have in general.

    One thing is 5 products with 100 variations each, one is 1000 products with 100 variations each.

    To answer your question, at the moment the best you can do is use good hosting. We are constantly working on performance and scalability as well.

    Thread Starter ynpnl

    (@ynpnl)

    Thanks for your help in answering those questions! Really appreciated. I’ll look into the variation options.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Variable Products’ is closed to new replies.