You are here

commerce1_store.yml in Commerce Migrate 8.2

modules/commerce/migrations/commerce1_store.yml

File

modules/commerce/migrations/commerce1_store.yml
View source
  1. id: commerce1_store
  2. label: Commerce store
  3. migration_tags:
  4. - Drupal 7
  5. - Commerce
  6. - Content
  7. source:
  8. plugin: variable
  9. variables:
  10. - site_name
  11. - site_mail
  12. - commerce_default_currency
  13. constants:
  14. type: 'online'
  15. source_module: commerce
  16. process:
  17. # Bundle
  18. type: 'constants/type'
  19. name: site_name
  20. uid:
  21. -
  22. plugin: default_value
  23. default_value: 1
  24. -
  25. plugin: migration_lookup
  26. migration: d7_user
  27. default_currency: commerce_default_currency
  28. mail: site_mail
  29. is_default:
  30. - plugin: default_value
  31. default_value: TRUE
  32. # Change this for your migration or configure the store
  33. # after the migration.
  34. 'address/country_code':
  35. -
  36. plugin: default_value
  37. default_value: us
  38. destination:
  39. plugin: entity:commerce_store
  40. destination_module: commerce_store
  41. migration_dependencies:
  42. required:
  43. - d7_user
  44. - commerce1_currency