Updating a simple product to a variable
-
Gradually getting to grips with the API (+ wrapper)!
Thus far, all my products have been loaded as ‘simple’ products. Many (most) of them will have variations which will change as stock levels change (all our variations are stock based).
First question is can I use the ‘update’ call to change the product type and add the attributes and variations?
I’m beginning to suspect not as the variations appear to require a variation id that would not be present until the update had been posted.
Should I instead be thinking along the lines of creating all the products with all the variations and using the stock levels to control visibility of the variations?
OR
Deleting the existing product and re-creating it each time a product moves from ‘simple’ to ‘variable’ or back again.Dennis
- The topic ‘Updating a simple product to a variable’ is closed to new replies.