You are here

commerce1_product.yml in Commerce Migrate 8.2

modules/commerce/migrations/commerce1_product.yml

File

modules/commerce/migrations/commerce1_product.yml
View source
  1. id: commerce1_product
  2. label: Commerce product
  3. migration_tags:
  4. - Drupal 7
  5. - Commerce
  6. - Content
  7. deriver: Drupal\commerce_migrate_commerce\Plugin\migrate\ProductDeriver
  8. source:
  9. plugin: commerce1_product_display
  10. process:
  11. product_id: nid
  12. title: title
  13. type:
  14. plugin: migration_lookup
  15. migration: commerce1_product_type
  16. source: type
  17. uid: uid
  18. body: body
  19. status: status
  20. created: created
  21. changed: changed
  22. path: path
  23. variations:
  24. plugin: migration_lookup
  25. migration: commerce1_product_variation
  26. source: variations_field
  27. destination:
  28. plugin: 'entity:commerce_product'
  29. destination_module: commerce_product
  30. migration_dependencies:
  31. required:
  32. - commerce1_store
  33. - commerce1_product_variation
  34. - commerce1_product_type
  35. optional:
  36. - d7_field_instance