Hello,
We have many products with a number of variants, but with those characteristic selections, certain configurations do not exist. When this happens, the master product code shows up on our site. If that product doesn't exist, I would instead like it to say "invalid configuration." (Think: You have a shirt sizes and colors, but a green medium does not exist.) I think my answer is in this string of code that I have attached, however, I cannot get the message to populate properly. How should I be rewriting this code?