I'm trying to solve a strange scenario we have and thought I'd check if there were any options to solve this. We have 2 attributes for color and size setup as inventory variants. The color attribute is first and is a drop-down select with swatches and the size is just a select. We are not using any "select one" in the drop-downs. The problem is that when the page first loads, not all of the color swatches appear. I've figured out that it's loading the first color, and then loading all available sizes for just that color, but the second color is out of stock in the first default selected size, so it never loads that color in the drop-down or swatch. Only until you switch one of the drop-downs does the other swatch suddenly appear.
I've tried changing the initial attribute state from "Preload" to "do not preload" and this has no affect on the problem. I'm guessing I could solve this by adding "select one" to the drop-downs, but that's not ideal because it would then load the parent set of images, which are not always the most popular or preferred attribute set.
Aside from that is there something I'm missing? Is there a way to get all color swatches to load right from the start? I thought that the dependency resolution "first selected attribute shows all options" would cover that, but it doesn't change anything... unless we have something else broken.
Hope that all makes sense.
Thanks for any thoughts.
I've tried changing the initial attribute state from "Preload" to "do not preload" and this has no affect on the problem. I'm guessing I could solve this by adding "select one" to the drop-downs, but that's not ideal because it would then load the parent set of images, which are not always the most popular or preferred attribute set.
Aside from that is there something I'm missing? Is there a way to get all color swatches to load right from the start? I thought that the dependency resolution "first selected attribute shows all options" would cover that, but it doesn't change anything... unless we have something else broken.
Hope that all makes sense.
Thanks for any thoughts.
Comment