I sell onesies that are different colors and sizes. The problem is that one color's sizing works differently than another's because they are different brands. For example, a white onesie is sizes NB, 0-3M, 3-6M, 6-9M, 12M, and 18M. A black onesie is only sizes 6M, 12M, and 18M.
If a buyer selects white in the color variant, I want only the size options for white to appear. If a buyer selects black, I want only the three size options for black to appear. I tried adding a color and size variant and setting the quantity to zero for the sizes that don't apply to the specific color, but they still appear in the dropdown. I don't even want them to appear in the dropdown.
Is this possible?
Yes it is possible, you may checkout this tutorial https://community.shopify.com/c/Shopify-Design/Variants-Link-product-options/td-p/615156
in case you still need support in implementing please do send DM