I’m trying to import product variants using CMSImport. On my Product page, variants are implemented using a Custom Product Multi Variant, which is configured as an Element Type.
The issue I’m facing is that this element type is not available/selectable during the CMSImport process, so I’m unable to map or import the variant data.
Has anyone encountered this issue before?
Any suggestions or recommended approaches to handle importing variants in this scenario?
I don’t know the answer, but Richard (who wrote CMSImport) is normally good at getting back to you if you have a question. I don’t know if he looks at the forum but you can contact him at [email protected].
The docs mention adding a mapping for element types in the block list/grid, so I don’t know whether you need to do something similar.
I don’t think product multi variants are stored as normal content nodes in the CMS so you may have to write some custom code to import these.
If i recall, CMSImport can’t import element types used inside Umbraco Commerce’s Custom Product Multi Variant property, because those variant definitions are not stored as normal content nodes.
I believe they are JSON‑serialized data inside the product document, and CMSImport doesn’t expose those structures for mapping.