3
Answers
Vote up!
1
Vote down!

Migrate node type(s) in product type(s)

Hi all!
I created MANY node types, with a LOT of customized fields but there's still no effective content.

Now i have to let users buy and sell this content types, in a sort of marketplace (i've already tryed UC Marketplace, but it won't work as i would), so i added DC modules and some dub-modules.

Is there a simple way to convert or export this content types, to have them as commerce's product types?

I tryed Features, for exporting, but i don't know if i can edit files to import as product types.
I also installed Migrate + Commerce Migrate, but still can't make it work. Maybe there's a tutorial to use Migrate (i'm new to use it) in my specific case?

Thanks in advance!

on December 20, 2012

3 Answers

Vote up!
2
Vote down!

The Migrate module is pretty straightforward.

What you need to figure out is your field mapping.

Answer by: knowprose
Posted: Dec 20, 2012
Vote up!
1
Vote down!

Hm. It sounds to me like these nodes can already serve as Product Displays. All you need to do is create products for each node and relate them via the inline entity field. Or am I missing something obvious here?

Answer by: drupalability
Posted: Jan 18, 2013
Vote up!
-1
Vote down!

Thank you for your answer, knowprose!
Anyway, becouse this migration job is needed once, i dit it using a code snippet to create product types and the Field tools module to copy field instances.

Posted: Dec 22, 2012