Variants or Combinations of products

Hey, there is a more efficient way of doing this, check this out :slight_smile:
Also here is the code I’m using for the formula with the courtesy of Claude:

colors.flatMap((color) => sizes.map((size) => ({ color, size })))