I have pasted the code and it works, but the fork× of the out-of-stock variant is too big, can it be fixed?
In addition, can the variants that are not available be hidden? Because after selecting the first variant, some options in the second variant do not exist.