As you might already be aware, we use your configured variations, options & modifiers to generate a matrix of child products. The one stipulation we put in place is that each child product must have a unique
sku. Right now this means that you must add in a
slug_* and a
sku_* modifier for every variation you add.
If any of the child products that would be generated had a
slug that would clash with an existing
sku, or if any of the generated child products would clash with each other, then you’ll receive the “Attempt to build a child product with an SKU that is already in use.” error.
To fix this, we need to look at the child products that would be generated when you hit the
/build endpoint. Using the
sku_builder modifier means we’ll replace parts of the base
sku with the new values.
- Size (S, M)
- Design (BEA, BIM, MAR, ROC)
In this case, your variation/option/modifier setup looks correct so this could be a bug on our end. We’ll investigate and get the issue patched.