commerce1_store.yml in Commerce Migrate 3.0.x
Same filename and directory in other branches
modules/commerce/migrations/commerce1_store.yml
File
modules/commerce/migrations/commerce1_store.ymlView source
- id: commerce1_store
- label: Commerce store
- migration_tags:
- - Drupal 7
- - Commerce
- - Content
- source:
- plugin: variable
- variables:
- - site_name
- - site_mail
- - commerce_default_currency
- constants:
- type: 'online'
- source_module: commerce
- process:
- # Bundle
- type: 'constants/type'
- name: site_name
- uid:
- -
- plugin: default_value
- default_value: 1
- -
- plugin: migration_lookup
- migration: d7_user
- default_currency: commerce_default_currency
- mail: site_mail
- is_default:
- - plugin: default_value
- default_value: TRUE
- # Change this for your migration or configure the store
- # after the migration.
- 'address/country_code':
- -
- plugin: default_value
- default_value: us
- destination:
- plugin: entity:commerce_store
- destination_module: commerce_store
- migration_dependencies:
- required:
- - d7_user
- - commerce1_currency