Well, I figured out my problem with a lot of searching and
experimentation. I apologize in advance if I don't explain it
correctly.
Once I fully understood the Satchmo Product/Configurable Product/
Product Variation relationship, everything worked out fine. My
problem was that I was creating a Product, then creating a
Configurable product, then applying the single product variation to
the "master" product. Once I understood that a second product
instance was required (actually, one for each product variation, e.g,
Large-Blue, Medium-Blue, Large-White, etc.) that would be the
"configured" product, everything worked. It also explained the "no
reverse match" problem since it was trying to match itself, and why
the "create_all_variations" worked but the "create_variation" wasn't
working.
So, although it's been covered elsewhere, it never hurts to repeat the
process in different words in case someone else is struggling with
this issue.
1. Create a Product (the parent product)
2. Make that Product (the parent product) Configurable by creating and
adding Option Group(s) to it.
3. Create a Product(s) (the child product(s)) for every combination
you want to create
4. Create a ProductVariation(s) for each child product, using
parent=Configurable Product and product=child product
4. Add the specific product variation(OptionItem, e.g, Large:Blue,
Medium:White, etc.) to the ProductVariation record
If I've misstated anything, please jump in and correct it.
Thanks,
Jim